diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1da7148..58c0892 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,10 +97,15 @@ jobs: - name: Run CI run: | just ci + - name: Report to DeepSource + if: runner.os == 'Linux' + run: | deepsource report --analyzer test-coverage --key rust --value-file lcov.info env: DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} - - uses: codecov/codecov-action@v4 + - name: Report coverage to Codecov + if : runner.os == 'Linux' + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} # required files: lcov.info diff --git a/justfile b/justfile index 6adef89..775f4f2 100644 --- a/justfile +++ b/justfile @@ -7,9 +7,15 @@ export BINSTALL_DISABLE_TELEMETRY := "true" default: just list +[linux] ci: just cov +[macos] +[windows] +ci: + just test + [group('rust'), no-cd] test: just test-nightly