Skip to content

Merge pull request #88 from cemac/dependabot/npm_and_yarn/app/templat… #39

Merge pull request #88 from cemac/dependabot/npm_and_yarn/app/templat…

Merge pull request #88 from cemac/dependabot/npm_and_yarn/app/templat… #39

name: Python Package using Conda
on: [push]
jobs:
test:
name: Test python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yml
environment-name: cssp
- name: Install test packages
shell: bash -l {0}
run: |
pip install pytest nbconvert nbformat
- name: which python
shell: bash -l {0}
run: |
which python
- name: Test with pytest
shell: bash -l {0}
run: |
cd app & pytest app/app.py