Fix parallelization - inline async functions, refactor internals to m… #7
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: mops test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dfx | |
uses: dfinity/setup-dfx@main | |
with: | |
dfx-version: 0.20.0 | |
- uses: actions/checkout@v4 | |
- uses: ZenVoich/setup-mops@v1 | |
- name: make sure moc is installed | |
run: mops toolchain bin moc || mops toolchain use moc latest | |
- name: install dependencies | |
run: npm run install-deps | |
- name: run unit tests | |
run: npm run unit-tests | |
- name: run integration tests | |
run: npm run integration-tests |