feat: Bump REPLICA_REV to 41319eab85e65e3eb8174f37518bf81530a58831 #176
Workflow file for this run
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: Run e2e tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-extension: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-12, ubuntu-20.04 ] | |
test_file_path: [ extensions/nns/e2e/tests/nns.bash, extensions/sns/e2e/tests/sns.bash ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install brew | |
uses: Homebrew/actions/setup-homebrew@master | |
if: contains(matrix.os, 'macos-12') == false | |
- name: Install sponge and timeout | |
run: brew install coreutils sponge | |
- uses: cargo-bins/cargo-binstall@main | |
- name: Install cargo-dist | |
run: cargo binstall cargo-dist -y | |
- name: Install IC SDK (dfx) | |
uses: dfinity/setup-dfx@main | |
- name: run test | |
run: timeout 2400 e2e/bats/bin/bats ${{ matrix.test_file_path }} | |
aggregate: | |
name: e2e:required | |
if: ${{ always() }} | |
needs: [test-extension] | |
runs-on: ubuntu-latest | |
steps: | |
- name: check e2e test result | |
if: ${{ needs.test-extension.result != 'success' }} | |
run: exit 1 |