chore: Migrate to markdown #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2013-2022 Miguel Gonzalez <migonzalvar@gmail.com> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
--- | |
name: CI | |
on: [push] | |
env: | |
FORCE_COLOR: "1" | |
PYTHON_LATEST: "3.12" | |
jobs: | |
tests: | |
name: tox on ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -VV | |
python -m site | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install --upgrade virtualenv tox tox-gh-actions | |
- name: Test with tox | |
run: tox | |
- name: Check coverage | |
run: tox -e coverage-report | |
if: ${{ matrix.python-version == env.PYTHON_LATEST }} |