Skip to content

Add support for Python 3.12 #734

Add support for Python 3.12

Add support for Python 3.12 #734

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Unit tests
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main, 'batou-*' ]
pull_request:
branches: [ main, 'batou-*' ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install age
run: |
sudo apt-get update
sudo apt-get install -y age
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Runs a set of commands using the runners shell
- name: Setup
run: ./develop.sh
- name: Show environment
run: set
- name: Test
run: bin/tox -e py -- -vv