diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 94c8008f0..e512998be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,9 +70,13 @@ jobs: --allow-privileged --secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY ${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }} - +tests + +tests --coverage=true env: SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }} + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v4.2.0 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} GoReleaser: runs-on: "ubuntu-latest"