-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (34 loc) · 947 Bytes
/
main.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
---
# configuration for GitHub Actions
name: flowsynth tests
on:
push:
pull_request:
jobs:
build:
name: Build and test
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [
'3.10',
]
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
- name: Setup testing environment
run: |
sudo apt update
sudo apt install -y libgraphviz-dev
- name: Install Python dependencies
run: |
pdm install
- name: Build and install Spot
run: |
pdm run python get_spot.py
- name: Run tests
run: |
pdm run pytest -v tests