-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 925 Bytes
/
run-tests.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
38
39
40
41
name: Tests
on: [push, pull_request]
env:
PY_COLORS: 1
COLUMNS: 110
PIP_DISABLE_PIP_VERSION_CHECK: 1
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
os: [ubuntu-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Clone
run: git clone https://github.com/MSLNZ/msl-nlf.git
- name: ldd
run: |
ldd msl-nlf/tests/user_defined/Nelson_x64.so
ldd msl-nlf/tests/user_defined/Roszman1_x64.so
- name: Install package
run: |
cd msl-nlf
pip install .[tests]
- name: Run tests
run: |
cd msl-nlf
pytest