Skip to content

Commit

Permalink
refactor: Add ethernaut-optigov workflow to CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
luisvid committed Oct 26, 2024
1 parent 2c407fe commit 9818ac0
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,27 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-oso
parallel: true
ethernaut-optigov:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.12.0']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run compile --if-present
- run: cd packages/ethernaut-optigov && npm t
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ethernaut-optigov
parallel: true
ethernaut-util:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -384,6 +405,7 @@ jobs:
- lint
- ethernaut-common
- ethernaut-oso
- ethernaut-optigov
- ethernaut-util
- ethernaut-util-ui
- ethernaut-ui
Expand All @@ -404,4 +426,4 @@ jobs:
uses: coverallsapp/github-action@v2
with:
parallel-finished: true
carryforward: 'lint,ethernaut-common,ethernaut-oso,ethernaut-util,ethernaut-util-ui,ethernaut-ui,ethernaut-interact,ethernaut-interact-ui,ethernaut-challenges,ethernaut-ai,ethernaut-ai-ui,ethernaut-network,ethernaut-network-ui,ethernaut-wallet,ethernaut-wallet-ui,ethernaut-cli'
carryforward: 'lint,ethernaut-common,ethernaut-oso,ethernaut-optigov,ethernaut-util,ethernaut-util-ui,ethernaut-ui,ethernaut-interact,ethernaut-interact-ui,ethernaut-challenges,ethernaut-ai,ethernaut-ai-ui,ethernaut-network,ethernaut-network-ui,ethernaut-wallet,ethernaut-wallet-ui,ethernaut-cli'

0 comments on commit 9818ac0

Please sign in to comment.