Skip to content

Initial python 3.12 test manifest #302

Initial python 3.12 test manifest

Initial python 3.12 test manifest #302

Workflow file for this run

name: Unit Test
on: [push]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: ["python2.7", "python3.3", "python3.4", "python3.5", "python3.6", "python3.7", "python3.8", "python3.9", "python3.10", "python3.11", "python3.12", "pypy", "pypy3"]
container:
image: danielflook/python-minifier-build:${{ matrix.python }}-2024-01-12
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set version statically
run: |
VERSION=0.0.0
sed -i "s/setup_requires=.*/version='$VERSION',/; s/use_scm_version=.*//" setup.py
- name: Run tests
run: |
tox -r -e $(echo "${{ matrix.python }}" | tr -d .)