Skip to content

Commit

Permalink
Update github CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mardiros committed Apr 9, 2024
1 parent f6418ba commit 0d40cb2
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,7 +52,9 @@ jobs:
path: junit/test-results-${{ matrix.python-version }}.xml

- name: Codecov
uses: codecov/[email protected]
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
# Comma-separated list of files to upload
files: coverage.xml

0 comments on commit 0d40cb2

Please sign in to comment.