Skip to content

Support Python 3.12 #115

Support Python 3.12

Support Python 3.12 #115

Workflow file for this run

name: Test Webware for Python 3 package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
max-parallel: 6
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests] --use-pep517
- name: Lint with flake8
if: matrix.python-version == '3.11'
run: |
flake8 webware setup.py --count --exit-zero --statistics
- name: Lint with pylint
if: matrix.python-version == '3.11'
run: |
pylint webware
- name: Run all unit tests
run: |
cd webware
python -m unittest discover -fv -p Test*.py