diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1dcd6662..fee47fa7 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,13 +1,14 @@ -name: Run python tests with pytest +name: Run Python tests with pytest on: [push, pull_request] +permissions: + pull-requests: write + jobs: pytest_and_coverage: name: Run tests and count coverage - permissions: - contents: read - pull-requests: write + runs-on: ubuntu-latest strategy: matrix: