-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (30 loc) · 948 Bytes
/
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
name: Tests
on: pull_request
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.11', '3.12']
env:
USE_TRILINOS: 1
ZOLTAN_INCLUDE: /usr/include/trilinos
ZOLTAN_LIBRARY: /usr/lib/x86_64-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Linux packages ZOLTAN support
run: |
sudo apt-get update
sudo apt-get install -y openmpi-bin libopenmpi-dev libtrilinos-zoltan-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -e .[tests] -v --no-build-isolation
- name: Run tests
run: pytest -v pyzoltan