Skip to content

Commit

Permalink
configure tests with flow-c1
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Apr 3, 2024
1 parent 1301040 commit 1731fe6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
with:
go-version: 1.18
- name: Install Flow CLI
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.5.0
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/feature/stable-cadence/install.sh)"
- name: Run tests
run: sh ./test.sh
- name: Normalize coverage report filepaths
run : sh ./normalize_coverage_report.sh
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ignore:
- "contracts/standard/ExampleNFT.cdc"
- "contracts/standard/ExampleNFT2.cdc"
- "contracts/standard/ExampleToken.cdc"
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

flow test --cover --covercode="contracts" --coverprofile="coverage.lcov" test/*_tests.cdc
flow-c1 test --cover --covercode="contracts" --coverprofile="coverage.lcov" test/*_tests.cdc

0 comments on commit 1731fe6

Please sign in to comment.