Skip to content

Uncommented automatic pytest for mechanalyzer #10

Uncommented automatic pytest for mechanalyzer

Uncommented automatic pytest for mechanalyzer #10

Workflow file for this run

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