Skip to content

CI with pixi

CI with pixi #227

Workflow file for this run

name: CI-windows
on:
- push
- pull_request
jobs:
tests:
runs-on: windows-2022
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: .github/environment-windows.yml
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: test
use-mamba: true
- name: Install
run: |
pip install . -v
- name: Tests
run: |
python -m pip install pytest-allclose pytest-mock
python -m pip install "pymech @ git+https://github.com/eX-Mech/pymech.git"
pytest -v