Skip to content

commit to test GitHub Actions #11

commit to test GitHub Actions

commit to test GitHub Actions #11

Workflow file for this run

name: tox-pytest-Okken-2022
# Run tests every time either code is pushed to the repository or a pull request is created
on: [push, pull_request]
jobs:
build:
# Specify which operating system to run the tests on
runs-on: ubuntu-latest
strategy:
matrix:
# Specify which Python versions to run
python: ["3.10", "3.11", "3.12"]
steps:
# Check out the repository by using the `actions/checkout@v2` GitHub tool
# so the rest of the workflow can access it
- uses: actions/checkout@v2
- name: Setup Python
# Get Python configured and installed in a build environment by using the `setup-python@v2` GitHub tool
uses: actions/setup-python@2
with:
# Create an environment for each of the Python versions listed in matrix: python
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
# Install tox
run: pip install tox
- name: Run Tox
# Run tox selecting the correct version of Python specified in `tox.ini`
run: tox -e py