Skip to content

initial renaming to plate-simulation #11

initial renaming to plate-simulation

initial renaming to plate-simulation #11

name: pytest on Unix OS
on:
pull_request:
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
push:
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
source_dir: plate_simulation
jobs:
pytest:
name: pytest (Unix)
strategy:
fail-fast: false
matrix:
python_ver: ['3.9', '3.10']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
env:
PYTHONUTF8: 1
CONDA_CHANNEL_PRIORITY: strict
PIP_NO_DEPS: 1 # all dependencies are installed from conda
CONDA_LOCK_ENV_FILE: environments/py-${{ matrix.python_ver }}-${{ startsWith(matrix.os, 'macos') && 'osx' || 'linux' }}-64-dev.conda.lock.yml
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Setup conda env
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ${{ env.CONDA_LOCK_ENV_FILE }}
environment-name: test_env
cache-downloads: true
- name: pytest
run: pytest --cov --cov-report=xml