Skip to content

update resolver

update resolver #83

Workflow file for this run

name: test
on: [push]
env:
FOUNDRY_PROFILE: default
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
# - name: Check gas snapshots
# run: forge snapshot --check
- name: Run Forge tests
run: |
forge test -vvv --gas-report
id: test
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: Install modules
# run: yarn
# - name: Run lint
# run: yarn run lint:gh-check
- name: Run Coverage
run: "forge coverage --report lcov && sudo apt-get install lcov && lcov --remove ./lcov.info -o ./lcov.info.pruned 'test/*' 'script/*' 'src/libraries/*' 'src/deployer/*'"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
directory: .
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./lcov.info.pruned
name: cyberid-coverage
verbose: true