Merge branch 'main' of https://github.com/argentlabs/argent-contracts… #20
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: Integration CI | |
on: push | |
jobs: | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out main branch | |
uses: actions/checkout@v3 | |
- name: Setup Scarb | |
uses: software-mansion/[email protected] | |
- name: Install project | |
run: yarn install --frozen-lockfile | |
- name: Start devnet in background | |
run: | | |
scarb run start-devnet & | |
./scripts/wait-devnet-ready.sh | |
- name: Run integration tests | |
run: scarb --release build && tsc && yarn mocha tests-integration/*.test.ts --forbid-only --forbid-pending | |
gas-report: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out main branch | |
uses: actions/checkout@v3 | |
- name: Setup Scarb | |
uses: software-mansion/[email protected] | |
- name: Install project | |
run: yarn install --frozen-lockfile | |
- name: Start devnet in background | |
run: | | |
scarb run start-devnet & | |
./scripts/wait-devnet-ready.sh | |
- name: Gas report | |
run: scarb run profile --check | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Install project | |
run: yarn install --frozen-lockfile | |
- name: Step 3 - Check correct formatting | |
run: yarn prettier --check . | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Check out main branch | |
uses: actions/checkout@v3 | |
- name: Step 2 - Install project | |
run: yarn install --frozen-lockfile | |
- name: Step 3 - Check correct linting | |
run: yarn eslint . |