Skip to content

Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 #138

Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2

Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 #138

Workflow file for this run

name: 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]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run tests
run: tox
build-old:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.6"]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# tox doesn't support these versions of Python anymore
- name: Install tox
run: pip install 'tox < 4'
- name: Run tests
run: tox --skip-missing-interpreters=true