Skip to content

Merge pull request #30 from uit-cosmo/subfiglabels #74

Merge pull request #30 from uit-cosmo/subfiglabels

Merge pull request #30 from uit-cosmo/subfiglabels #74

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
build:
# timeout-minutes: 460
name: ${{ matrix.python-version }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os:
- ubuntu-latest
# - macos-latest
# - windows-latest # Haven't figured out how ImageMagick should be installed on win32 yet
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Upgrade pip
run: |
pip install --upgrade pip
pip --version
- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest