chore: gh action logs #6
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
name: IC WS Gateway tests | |
# only run when a commit is pushed to the main branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
unit-and-integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "npm" | |
cache-dependency-path: "tests/integration/package-lock.json" | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.69.0 | |
- uses: aviate-labs/[email protected] | |
with: | |
dfx-version: 0.14.1 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: "true" | |
- name: Install tests dependencies | |
run: ./scripts/install_test_dependencies.sh | |
- name: Run tests | |
run: ./scripts/ci_cd_test.sh |