From df5338f0d9607fee6f6f93b0908671ca8642de97 Mon Sep 17 00:00:00 2001 From: Mews Date: Sat, 8 Jun 2024 15:23:38 +0100 Subject: [PATCH] Fixed indentation error --- .github/workflows/run_tests.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 09772c2..8fcb6c8 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -19,19 +19,24 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: python-version: "3.10" cache: 'pip' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt + - name: Run tests run: | coverage run -m unittest tests/test.py + - name: Coverage comment - uses: py-cov-action/python-coverage-comment-action@v3 - with: - GITHUB_TOKEN: ${{ github.token }} + id: coverage_comment + uses: py-cov-action/python-coverage-comment-action@v3 + with: + GITHUB_TOKEN: ${{ github.token }}