diff options
author | 2020-11-17 00:56:00 +0100 | |
---|---|---|
committer | 2020-11-17 00:56:00 +0100 | |
commit | d2dec8fcbcaabb065de93b7a67b9d83e48cfe9ff (patch) | |
tree | 497c5e38449e27c4b67cd6f1695b4d8e690e14c4 | |
parent | Add unit test step to workflow (diff) |
Add Python and coveralls to workflow
-rw-r--r-- | .github/workflows/lint-test.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index b0e44eb..ecb5834 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -75,10 +75,18 @@ jobs: run: "docker exec snekbox_test /bin/bash -c \ 'coverage run -m unittest; coverage report -m'" + - name: Setup python + id: python + uses: actions/setup-python@v2 + with: + python-version: '3.9' + # This step will publish the coverage reports coveralls.io and # print a "job" link in the output of the GitHub Action - name: Publish coverage report to coveralls.io if: always() env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: coveralls + run: | + pip install coveralls~=2.1 + coveralls |