Skip to content

Commit

Permalink
v2.3 Audit Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-io committed Sep 18, 2024
1 parent b009b26 commit b5fa427
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ on:
pull_request:
branches:
- main
- v2.1
- v2.1.1
- v2.2
- v2.3
- v2.3-fix-review
workflow_dispatch:

env:
Expand Down Expand Up @@ -513,12 +511,13 @@ jobs:
with:
name: verifier_unit_test_coverage
path: ./packages/perennial-verifier/coverage/lcov.info

# [PERIPHERY UNIT COVERAGE]
periphery-unit-test-coverage:
name: 'Periphery Unit Tests Coverage'
runs-on: ubuntu-latest
needs: [account-unit-test, oracle-unit-test, order-unit-test, vault-unit-test, extensions-unit-test, verifier-unit-test]
needs:
[account-unit-test, oracle-unit-test, order-unit-test, vault-unit-test, extensions-unit-test, verifier-unit-test]
steps:
- uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -558,10 +557,10 @@ jobs:
run: sudo apt-get update && sudo apt-get install lcov
- name: Combine unit test coverage
run: lcov -a account_unit_test_coverage/lcov.info
-a oracle_unit_test_coverage/lcov.info
-a order_unit_test_coverage/lcov.info
-a vault_unit_test_coverage/lcov.info
-a extensions_unit_test_coverage/lcov.info
-a oracle_unit_test_coverage/lcov.info
-a order_unit_test_coverage/lcov.info
-a vault_unit_test_coverage/lcov.info
-a extensions_unit_test_coverage/lcov.info
-a verifier_unit_test_coverage/lcov.info
--output-file periphery_unit_coverage.info
- name: Upload combined unit test lcov file
Expand Down Expand Up @@ -629,12 +628,12 @@ jobs:
- name: Install lcov
run: sudo apt-get update && sudo apt-get install lcov
- name: Combine integration test coverage
run: lcov -a account_integration_test_coverage/lcov.info
-a oracle_integration_test_coverage/lcov.info
-a oracle_sepolia_integration_test_coverage/lcov.info
-a order_integration_test_coverage/lcov.info
-a vault_integration_test_coverage/lcov.info
-a extensions_integration_test_coverage/lcov.info
run: lcov -a account_integration_test_coverage/lcov.info
-a oracle_integration_test_coverage/lcov.info
-a oracle_sepolia_integration_test_coverage/lcov.info
-a order_integration_test_coverage/lcov.info
-a vault_integration_test_coverage/lcov.info
-a extensions_integration_test_coverage/lcov.info
--output-file periphery_integration_coverage.info
- name: Upload combined integration test lcov file
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit b5fa427

Please sign in to comment.