diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index aef9f4d9..8a06d7ac 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -7,6 +7,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v4 with: @@ -21,3 +23,10 @@ jobs: - name: pytest # Options are configured in pyproject.toml run: pytest + - name: CodeCov + run: | + # Replace `linux` below with the appropriate OS + # Options are `alpine`, `linux`, `macos`, `windows` + curl -Os https://uploader.codecov.io/latest/linux/codecov + chmod +x codecov + ./codecov -t ${{ secrets.CODECOV_TOKEN }}