Skip to content

docs: Use GitHub flavored note in readme #209

docs: Use GitHub flavored note in readme

docs: Use GitHub flavored note in readme #209

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
POETRY_VIRTUALENVS_IN_PROJECT: 'true'
PYTHONIOENCODING: UTF-8
PYTHON_VERSIONS: ''
jobs:
tests:
strategy:
max-parallel: 6
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os != 'ubuntu-latest' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Timothée Mazzucotelli"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up the cache
uses: actions/cache@v3
env:
cache-name: cache-python-packages
with:
path: tests/tmp/.venv
key: ${{ matrix.os }}-${{ matrix.python-version }}-${{ env.cache-name }}
restore-keys: |
${{ matrix.os }}-${{ matrix.python-version }}-
${{ matrix.os }}-
- name: Set up the project
run: |
pip install poetry safety copier
poetry config virtualenvs.in-project true
- name: Run the test suite
run: make test