-
Notifications
You must be signed in to change notification settings - Fork 17
38 lines (29 loc) · 944 Bytes
/
test.yaml
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
name: test
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Download central config files
run: |
wget https://raw.githubusercontent.com/avcopan/amech-dev/main/pixi.toml
wget https://raw.githubusercontent.com/avcopan/amech-dev/main/pixi.lock
- name: Set up Pixi
uses: prefix-dev/[email protected]
- name: Pip install
run: |
pixi run pip install . --no-deps
- name: Run linter
run: |
pixi run pylint --rcfile=.pylintrc automol
pixi run pylint --rcfile=.pylintrc phydat
pixi run pylint --rcfile=.pylintrc autoreact
- name: Run pytests
run: |
pixi run pytest -v automol --ignore=automol/tests/test_symm.py
pixi run pytest -v autoreact