Skip to content

Commit

Permalink
ci: fix testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
biga816 committed Dec 17, 2024
1 parent fcc4b81 commit c9f0dde
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ jobs:
run: npm run check:prettier
- name: Run ESLint
run: npm run check:lint
build-and-unit-test:
name: Unit Tests
runs-on: ubuntu-latest
if: github.actor != 'secured-finance-machine-user[bot]'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install Dependencies
run: npm ci
- name: Run Unit Tests
run: npm run coverage
- name: Upload Code Coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
# build-and-unit-test:
# name: Unit Tests
# runs-on: ubuntu-latest
# if: github.actor != 'secured-finance-machine-user[bot]'
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version-file: ".nvmrc"
# - name: Install Dependencies
# run: npm ci
# - name: Run Unit Tests
# run: npm run coverage
# - name: Upload Code Coverage
# uses: codecov/codecov-action@v5
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true

0 comments on commit c9f0dde

Please sign in to comment.