From 15d813c48d8337969f3a992d8396fecac65bf810 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 1 Nov 2022 00:19:00 +0100 Subject: [PATCH] Add test 3.11 --- .github/workflows/test-3.11.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test-3.11.yaml diff --git a/.github/workflows/test-3.11.yaml b/.github/workflows/test-3.11.yaml new file mode 100644 index 0000000..666cb7b --- /dev/null +++ b/.github/workflows/test-3.11.yaml @@ -0,0 +1,29 @@ +name: Test 3.11 + +on: + workflow_call: + pull_request: + branches: [ "master" ] + push: + branches: [master] + +jobs: + tests: + name: Python tests + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install poetry + run: pipx install poetry==1.1.15 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: poetry + - name: Install dependencies + run: | + poetry install + - name: Test + run: poetry run pytest --cov=. --cov-branch --cov-report term-missing:skip-covered + working-directory: ./src/