-
Notifications
You must be signed in to change notification settings - Fork 115
37 lines (34 loc) · 1.02 KB
/
test.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: Test Python package
on:
push:
branches:
- '**'
pull_request:
branches: [ master ]
jobs:
test:
name: Testing
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- run: sudo apt-get install libopenblas-dev gcc
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: rmsd-dev
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
- run: pip install .
- run: which calculate_rmsd
- run: make test python=python
- run: make format python=python
- run: make build python=python
- run: make test-dist python=python
- run: for x in dist/*; do pip uninstall -y rmsd && pip install $x; done
- run: pip uninstall -y rmsd && pip install $(find dist -name "*.whl" | tail -n 1)[qml]
- run: which calculate_rmsd