-
Notifications
You must be signed in to change notification settings - Fork 22
44 lines (37 loc) · 906 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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/