Skip to content

New release: 3.53

New release: 3.53 #349

Workflow file for this run

name: Tests and Coverage
# Make sure only one action triggers the job, otherwise pushing to a
# pull-request will run it twice.
on:
pull_request:
branches:
- "*"
push:
branches:
- master
- rhel9-branch
- rhel8-branch
- rhel7-branch
jobs:
unit-tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
max-parallel: 5
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12.2"]
include:
- python-version: 3.6
tox-env: py36
- python-version: 3.7
tox-env: py37
- python-version: 3.8
tox-env: py38
- python-version: 3.9
tox-env: py39
- python-version: "3.10"
tox-env: py310
- python-version: "3.11"
tox-env: py311
- python-version: "3.12.2"
tox-env: py312
steps:
- name: "Clone Repository"
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install gettext
run: sudo apt-get install -y gettext
- name: Install tox and update pip
run: python -m pip install --upgrade pip tox
- name: Run check coverage and docs
run: tox -e ${{ matrix.tox-env }}
- name: Coveralls
if: ${{ matrix.python-version == '3.12.2' }}
uses: AndreMiras/coveralls-python-action@develop
with:
github-token: ${{ secrets.GITHUB_TOKEN }}