added quarto to workflow #35
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: Test workflow | |
on: push | |
jobs: | |
unit_test_job: | |
runs-on: ubuntu-latest | |
container: continuumio/miniconda3 | |
name: Run unit tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Render Quarto Project | |
uses: quarto-dev/quarto-actions/render@v2 | |
- name: Create conda environment | |
run: conda env create -y -n testenv -f conda.yaml | |
- name: Dump conda environment | |
run: conda list -n testenv | |
- name: Install package | |
run: conda run -n testenv pip install . | |
- name: Install pytest | |
run: conda run -n testenv pip install pytest | |
- name: Run unit tests | |
run: conda run -n testenv pytest |