From 0d40cb2230f06c60cacda5b957f0ad64779d019c Mon Sep 17 00:00:00 2001 From: Guillaume Gauvrit Date: Tue, 9 Apr 2024 22:43:17 +0200 Subject: [PATCH] Update github CI workflow --- .github/workflows/main.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b09fa1..105247f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,15 +21,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + poetry-version: ["1.3.1"] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Install poetry - run: pip install poetry + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Run image + uses: abatilo/actions-poetry@v2 + with: + poetry-version: ${{ matrix.poetry-version }} - name: Install aioxmlrpc run: poetry install @@ -45,7 +52,9 @@ jobs: path: junit/test-results-${{ matrix.python-version }}.xml - name: Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: # Comma-separated list of files to upload files: coverage.xml