File tree 1 file changed +36
-0
lines changed 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Moulti checks (NetBSD)'
2
+ on :
3
+ - push
4
+ jobs :
5
+ netbsdchecks :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v4
9
+ - name : NetBSD
10
+ uses : vmactions/netbsd-vm@v1
11
+ with :
12
+ usesh : true
13
+ prepare : |
14
+ PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All"
15
+ export PKG_PATH
16
+ /usr/sbin/pkg_add py311-pip
17
+ run : |
18
+ set -e
19
+ python3.11 --version
20
+ pip-3.11 --version || pip3.11 --version || pip --version
21
+ python3.11 -m venv .venv
22
+ . .venv/bin/activate
23
+ pip install --upgrade pip
24
+ # Remove problematic python packages:
25
+ # - bpython: unnecessary, depends on greenlet and thus on a recent C++ compiler
26
+ # - ruff: depends on a Rust compiler
27
+ # - twine: unnecessary, depends on a Rust compiler
28
+ sed -i '/bpython/d; /ruff/d; /twine/d' requirements.txt
29
+ pip install -r requirements.txt
30
+ # no ruff, no ruff check
31
+ mypy src/moulti
32
+ pylint src/moulti
33
+ pip install -e .
34
+ # This runs all tests except:
35
+ # - test_diff_with_delta (requires delta 0.18.x)
36
+ pytest -v
You can’t perform that action at this time.
0 commit comments