ci(run_tests.yml): add project's package installation #6
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: Run Unit Tests with Pytest | |
on: [push] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install external dependencies with mamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
- name: Install project's package with pip | |
run: pip install . | |
shell: micromamba-shell {0} | |
- name: Run tests with Pytest | |
run: pytest | |
shell: micromamba-shell {0} |