Skip to content

Merge pull request #70 from kkovary/68-graph-gp-serializer #156

Merge pull request #70 from kkovary/68-graph-gp-serializer

Merge pull request #70 from kkovary/68-graph-gp-serializer #156

Workflow file for this run

name: Build GAUCHE and run unit tests.
on:
push:
paths-ignore:
- "README.md"
- "docs/**"
pull_request:
paths-ignore:
- "README.md"
- "docs/*"
- "CHANGELOG.md"
- "CONTRIBUTORS.md"
- "CONTRIBUTING.md"
- "imgs/"
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python.
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up GAUCHE and install all dependencies.
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .[all]
- name: Run unit tests with pytest.
run: |
pytest tests/