Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Raise upper python version to 3.12 #33

Raise upper python version to 3.12

Raise upper python version to 3.12 #33

Workflow file for this run

name: Python package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
run: pip install tox
- name: Run tox using the version of Python in `PATH`
run: tox -e py
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Tox
run: pip install tox
- name: Check that docs build successfully
run: tox -e docs
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Tox
run: pip install tox
- name: Check code is compliant with linters
run: tox -e linters
packaging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Tox
run: pip install tox twine
- name: Check package structure
run: tox -e packaging