forked from Auto-Mech/mechanalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.06 KB
/
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
39
40
41
42
name: test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
# Repository
- name: Checkout the code
uses: actions/checkout@v4
# Environment
- name: Download environment files
run: |
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pixi.toml
wget https://raw.githubusercontent.com/Auto-Mech/amech-dev/main/pixi.lock
- name: Set up Pixi
uses: prefix-dev/[email protected]
- name: Pip install
run: |
pixi run pip install git+https://github.com/Auto-Mech/autochem.git --no-deps
pixi run pip install git+https://github.com/Auto-Mech/autoio.git --no-deps
pixi run pip install git+https://github.com/Auto-Mech/autofile.git --no-deps
pixi run pip install -e . --no-deps
# Test
- name: Test
run: |
pixi run pytest -v ratefit
# # broken:
# pixi run pytest -v thermfit
pixi run pytest -v mechanalyzer