diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index c7e0de3..0000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,23 +0,0 @@ -# ref: https://docs.codecov.com/docs/codecovyml-reference -coverage: - # Hold ourselves to a high bar - range: 85..100 - round: down - precision: 1 - status: - # ref: https://docs.codecov.com/docs/commit-status - project: - default: - # Avoid false negatives - threshold: 1% - -# Test files aren't important for coverage -ignore: - - "tests" - - "**/examples" - - "**/schema.rs" - -# Make comments less noisy -comment: - layout: "files" - require_changes: true diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 304d931..02fb6c5 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -5,7 +5,7 @@ on: branches: [main] pull_request: schedule: - - cron: '7 7 * * *' + - cron: "7 7 * * *" name: rolling jobs: # https://twitter.com/mycoliza/status/1571295690063753218 @@ -21,9 +21,6 @@ jobs: - name: cargo generate-lockfile if: hashFiles('Cargo.lock') == '' run: cargo generate-lockfile - - name: generate artifacts - uses: extractions/setup-just@v2 - run: just wasm - name: cargo test --locked run: cargo test --locked --all-features --all-targets # https://twitter.com/alcuadrado/status/1571291687837732873 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7674372..9a087ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,31 +23,5 @@ jobs: - name: cargo generate-lockfile if: hashFiles('Cargo.lock') == '' run: cargo generate-lockfile - # https://twitter.com/jonhoo/status/1571290371124260865 - - name: generate artifacts - uses: extractions/setup-just@v2 - run: just wasm - name: cargo test --locked run: cargo test --locked --all-features --all-targets - coverage: - runs-on: ubuntu-latest - name: ubuntu / stable / coverage - steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: Install stable - uses: dtolnay/rust-toolchain@stable - with: - components: llvm-tools-preview - - name: cargo install cargo-llvm-cov - uses: taiki-e/install-action@cargo-llvm-cov - - name: cargo generate-lockfile - if: hashFiles('Cargo.lock') == '' - run: cargo generate-lockfile - - name: cargo llvm-cov - run: cargo llvm-cov --locked --all-features --lcov --output-path lcov.info - - name: Upload to codecov.io - uses: codecov/codecov-action@v3 - with: - fail_ci_if_error: true