Merge pull request #322 from bedapub/dependabot/pip/devtools/flask-2.2.5 #405
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 doctests | |
on: [push, pull_request] | |
jobs: | |
doc-test-job: | |
name: Doctests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
- name: Bash | |
shell: bash -l {0} | |
run: | | |
conda install -c conda-forge mamba | |
mamba init | |
source ~/.bashrc | |
mamba env create -f environment.yml | |
mamba activate besca_dev | |
pip install pytest | |
cd besca | |
export PYTHONDONTWRITEBYTECODE=1 | |
pytest --doctest-modules -W ignore::PendingDeprecationWarning --durations=0 | |
cd .. | |
pytest |