-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (33 loc) · 1.1 KB
/
e2e-contracts-hybrid.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Contracts E2E Hybrid tests
on:
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
contract_test_hybrid:
if: github.event_name != 'pull_request'
name: Contracts E2E Hybrid Tests
runs-on: ubuntu-latest
timeout-minutes: 45
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Set up Just
uses: extractions/setup-just@v1
- name: Set up ASDF Version Manager
uses: asdf-vm/actions/setup@v3
- name: Install Node.js
run: |
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs 20.10.0
asdf global nodejs 20.10.0
- name: Set up Test and clone repositories
run: just setup
- name: Run e2e tests
run: PERM_STORAGE=hybrid://postgres:[email protected]:5432/stratus just contracts-test-stratus-postgres