Skip to content

Ms/stove shares

Ms/stove shares #73

Workflow file for this run

name: OnStove tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
miniconda:
name: Miniconda ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10.*"]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: onstove-tests
environment-file: environment-tests.yml
auto-activate-base: false
- name: Run pytest
shell: bash -l {0}
run: |
pytest --cov=./ --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}