From d59207695684f75880b35c0e7b36fe8e16774cbf Mon Sep 17 00:00:00 2001 From: Andrei Sorokin Date: Tue, 16 Jan 2024 08:37:36 +0100 Subject: [PATCH] https://github.com/andgineer/ambientweather_livedata/issues/1 fixed test matrix --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fda1548..aadc387 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,17 @@ jobs: strategy: matrix: python-version: [3.9, "3.10", 3.11] - os: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.os }} + platform: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.platform }} + + permissions: + # Gives the action the necessary permissions for publishing new + # comments in pull requests. + pull-requests: write + # Gives the action the necessary permissions for pushing data to the + # python-coverage-comment-action branch, and for editing existing + # comments (to avoid publishing multiple comments in the same PR) + contents: write steps: - uses: actions/checkout@v2