-
-
Notifications
You must be signed in to change notification settings - Fork 91
33 lines (33 loc) · 938 Bytes
/
test-pcbdraw.yml
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
name: test-pcbdraw
on:
push:
pull_request:
schedule:
- cron: '0 3 * * *'
jobs:
test:
name: "Run Pcbdraw tests"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
run: |
sudo add-apt-repository --yes ppa:kicad/kicad-6.0-releases
sudo apt-get -qq install --yes --no-install-recommends \
kicad kicad-footprints kicad-symbols kicad-packages3d \
python3 python3-pip \
make git librsvg2-bin xvfb xdotool bats
sudo python3 -m pip install mypy
python3 -m pip install -e .\[dev\]
- run: mypy --version
- run: make mypy
- run: make test
- run: make package
- name: Upload package artifact
uses: actions/upload-artifact@v2
with:
name: pcbdraw
path: dist
retention-days: 7