Skip to content

Upgrade packages and test on Python 3.12 and 3.13 (#13) #37

Upgrade packages and test on Python 3.12 and 3.13 (#13)

Upgrade packages and test on Python 3.12 and 3.13 (#13) #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ["*"]
pull_request:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
toxenv: [py]
include:
- python: "3.10"
toxenv: flake8
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install WireGuard
run: |
sudo apt-get update
sudo apt-get install wireguard-tools
- run: python -m pip install --upgrade pip wheel setuptools
- run: python -m pip install --upgrade tox poetry
- run: tox -e ${{ matrix.toxenv }}
all-tests-succeeded:
# https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
runs-on: ubuntu-22.04
needs: [test]
steps:
- name: All tests succeeded
run: echo "🎉"