Skip to content

Merge pull request #15 from HDRUK/add/gwdm/1.1 #70

Merge pull request #15 from HDRUK/add/gwdm/1.1

Merge pull request #15 from HDRUK/add/gwdm/1.1 #70

Workflow file for this run

name: Pytest
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install schema module
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install -e .
- name: Run pytest
run: |
cd hdr_schemata/tests/
pytest
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- run: pip3 install -r requirements.txt
- name: deploy
run: |
mkdocs gh-deploy --force