Skip to content

horizontal flexion alignement #5

horizontal flexion alignement

horizontal flexion alignement #5

Workflow file for this run

name: Run the tests
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-20.04
label: linux-64
prefix: /usr/share/miniconda3/envs/spartacus
name: ${{ matrix.label }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
activate-environment: spartacus
environment-file: environment.yml
- name: Print mamba info
run: |
mamba info
mamba list
- name: Install extra dependencies
run: mamba install pytest-cov black pytest pytest-cov codecov -cconda-forge
- name: Run the actual tests
run: pytest -v --color=yes --cov-report term-missing --cov=spartacus tests
- name: Upload coverage to Codecov
run: codecov
if: matrix.label == 'linux-64'
- name: Test installed version of spartacus
run: |
pip install -e . --no-deps
mamba list