-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilize make commands in github actions (#132)
* test only cargo fmt * add clippy and test-unit * try to utilize cosmwasm optimizer in github action * need to push Cargo.lock so that optimizer doesn't try to assemble it * run e2e tests through make command * extract tests into separate github action * renamed compile command * trigger workflows on release branches Co-authored-by: Stana Miric <[email protected]>
- Loading branch information
1 parent
1303c48
commit a62b5a5
Showing
5 changed files
with
4,260 additions
and
27 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
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,41 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: [ "main", "release/**", ] | ||
paths: | ||
- .github/workflows/tests.yml | ||
- Cargo.toml | ||
- Cargo.lock | ||
- contracts/** | ||
- packages/interface/** | ||
- test/e2e/** | ||
- artifacts/** | ||
pull_request: | ||
paths: | ||
- .github/workflows/tests.yml | ||
- Cargo.toml | ||
- Cargo.lock | ||
- contracts/** | ||
- packages/interface/** | ||
- test/e2e/** | ||
- artifacts/** | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
test-unit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Unit tests | ||
run: make test-unit | ||
test-e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: E2E tests | ||
env: | ||
E2E_TESTS_MNEMONIC: ${{ secrets.E2E_TESTS_MNEMONIC }} | ||
run: make test-e2e |
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
# Ignore project-specific files | ||
|
||
Cargo.lock | ||
Cargo.toml.orig | ||
|
||
# Ignore editor-specific files | ||
|
Oops, something went wrong.