Skip to content

Commit

Permalink
Added hardhat testing to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
david-kraslan committed Jul 27, 2024
1 parent 3c64ec4 commit 328e3f8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ jobs:

- name: Install project dependencies
working-directory: ./smart_contract
run: |
npm init -y
run: npm init -y
env:
CI: true
CI: true

# Setup sonar-scanner
- name: Setup SonarQube
Expand All @@ -95,7 +94,12 @@ jobs:
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.sources=.
-Dsonar.verbose=true
- name: Test smart contract
working-directory: ./smart_contract
run: npx hardhat test
env:
CI: true

client-security:
needs: client-test
Expand Down

0 comments on commit 328e3f8

Please sign in to comment.