diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c7178b2..e64831a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,11 @@ jobs: - name: Run unit test run: | - pytest --cov=TenshiTranslator test/ \ No newline at end of file + pytest --cov=TenshiTranslator test/ + + - name: Upload Coverage + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + files: .coverage \ No newline at end of file