Improve DIC to Cartesian transformation #1114
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pytest | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- 'examples/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Env (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
python-version: ["3.8", "3.12"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
activate-environment: test | |
channels: conda-forge | |
- name: Install mamba solver | |
run: | | |
conda install -n base conda-libmamba-solver | |
- name: Install | |
run: | | |
conda install \ | |
--file requirements.txt \ | |
--file tests/requirements.txt \ | |
--channel conda-forge \ | |
--solver=libmamba | |
python -m pip install . --no-deps | |
- name: Test | |
run: | | |
py.test tests/ |