-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (26 loc) · 1023 Bytes
/
makefile.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
34
35
36
37
name: Apsis CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Litestream
run: wget --quiet https://github.com/benbjohnson/litestream/releases/download/v0.3.13/litestream-v0.3.13-linux-amd64.deb && sudo dpkg -i litestream-v0.3.13-linux-amd64.deb
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Upgrade pip
run: pip3 install --upgrade pip 'setuptools>=61'
- name: Install package
run: pip3 install -e .[dev]
- name: Install procstar
run: wget --quiet -ti https://github.com/alexhsamuel/procstar/releases/download/v$(python -c 'import procstar; print(procstar.__version__)')/procstar && chmod +x procstar && mv procstar /usr/local/bin/
- name: Run Python unit tests
run: pytest test/unit -m "not local_ssh"
- name: Run Python integration tets
run: pytest test/int -m "not local_ssh"