From d2dec8fcbcaabb065de93b7a67b9d83e48cfe9ff Mon Sep 17 00:00:00 2001 From: Sebastiaan Zeeff Date: Tue, 17 Nov 2020 00:56:00 +0100 Subject: Add Python and coveralls to workflow --- .github/workflows/lint-test.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3