-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* git ignore .envs * test: add hybrid job * test: fix hybrid concurrency * test: add contract test on hybrid --------- Co-authored-by: renancloudwalk <[email protected]>
- Loading branch information
1 parent
82d30e0
commit 9590fd2
Showing
3 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Contracts E2E Hybrid tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
contract_test_hybrid: | ||
name: Contracts E2E Hybrid Tests | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 40 | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,14 @@ jobs: | |
|
||
concurrency: | ||
group: ${{ github.workflow }}-postgres-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
e2e-stratus-hybrid: | ||
name: E2E Stratus Hybrid | ||
uses: ./.github/workflows/_setup-e2e.yml | ||
with: | ||
test_command: 'PERM_STORAGE=hybrid://postgres:[email protected]:5432/stratus just e2e-stratus-postgres' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-hybrid-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# IDEs / Tools | ||
.vscode | ||
.tool-versions | ||
.env | ||
|
||
# Data | ||
data/**/*.csv | ||
|