Fix docs. #135
Workflow file for this run
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
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/ |