Skip to content

Add script to run all tests #130

Add script to run all tests

Add script to run all tests #130

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: 7
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.10', 'pypy-3.11']
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Lint with flake8
if: matrix.python-version == '3.14'
run: |
flake8 webware --count --exit-zero --statistics
- name: Lint with pylint
if: matrix.python-version == '3.14'
run: |
pylint webware
- name: Run all unit tests
run: |
python run_tests.py