and again #5
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: 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.8 | |
- name: Install schema module | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install setuptools | |
python -m pip install -e . | |
- name: Test package | |
run: | | |
python -c 'from hdr_schemata.models.HDRUK import Hdruk212 | |
- name: Run pytest | |
run: | | |
cd hdr_schemata/tests/ | |
pytest |