Skip to content

Merge pull request #9 from Kotochleb/feature/modality-cleaning #48

Merge pull request #9 from Kotochleb/feature/modality-cleaning

Merge pull request #9 from Kotochleb/feature/modality-cleaning #48

Workflow file for this run

name: Tests & Coverage
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
strategy:
matrix:
python-version: [ "3.9" ]
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pym3t
environment-file: environment.yaml
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
- name: Install EGL
run: sudo apt-get update && sudo apt-get install -qqy libegl1-mesa libegl1-mesa-dev
- name: Install pym3t
run: |
pip install .
- name: Run tests
run: |
pip install pytest
python -m pytest tests/