Skip to content

update ci to install dfx #2

update ci to install dfx

update ci to install dfx #2

Workflow file for this run

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