Updated citation test (#272) #1773
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: Doctest | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: doctest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python '3.11' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: x64 | |
- name: install pyEpiabm | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install pyEpiabm/. | |
python -m pip install pyEpiabm/.[docs] | |
- name: run doctest | |
run: | | |
cd pyEpiabm | |
python run_tests.py --docs | |
Validate-CITATION-cff: | |
name: Validate CITATION.cff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Validate CITATION.cff | |
uses: dieghernan/cff-validator@v3 |