Upload coverage report #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Branch Push CI | |
on: | |
push: | |
branches: | |
- "**" | |
paths-ignore: | |
- README.md | |
- changelog.rst | |
- LICENSE | |
- CITATION | |
- AUTHORS | |
- doc/** | |
defaults: | |
run: | |
shell: bash -l {0} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: latest | |
environment-name: ${{ github.event.repository.name }}-ubuntu-latest-311 | |
environment-file: requirements/base.txt | |
create-args: >- | |
-f requirements/dev.txt | |
python=3.11 | |
coin-or-cbc | |
post-cleanup: all | |
cache-environment: true | |
- name: Install package | |
run: pip install --no-dependencies -e . | |
- name: Install jupyter kernel | |
run: python -m ipykernel install --user --name calliope | |
- name: run tests | |
run: pytest |