diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 1af3875..7fec93b 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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: diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..5a60395 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,4 @@ +ignore: + - "contracts/standard/ExampleNFT.cdc" + - "contracts/standard/ExampleNFT2.cdc" + - "contracts/standard/ExampleToken.cdc" \ No newline at end of file diff --git a/test.sh b/test.sh index acc7741..03faee0 100755 --- a/test.sh +++ b/test.sh @@ -2,4 +2,4 @@ set -e -flow test --cover --covercode="contracts" --coverprofile="coverage.lcov" test/*_tests.cdc \ No newline at end of file +flow-c1 test --cover --covercode="contracts" --coverprofile="coverage.lcov" test/*_tests.cdc \ No newline at end of file