This is an auto-commit, updating project meta data, such as changelog… #237
This file contains hidden or 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
name: Unit tests | |
on: [push] | |
jobs: | |
build: | |
name: ${{ matrix.os }} / ${{ matrix.python_version }} | |
runs-on: ${{matrix.os}}-latest | |
strategy: | |
matrix: | |
os: [Ubuntu] | |
python-version: ["3.9.16"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install markupsafe==2.0.1 | |
python -m pip install --upgrade pip setuptools | |
pip install -r requirements.txt | |
- name: Lint with flake8 | |
run: | | |
make install_test format git-diff-check | |
- name: Test with pytest | |
run: | | |
pip install -r tests/requirements.txt | |
make |