Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .flake8

This file was deleted.

27 changes: 9 additions & 18 deletions .github/workflows/pyDataPipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-latest] #, windows-latest]
python: ["3.7", "3.9"]
python: ["3.7","3.8", "3.9"]
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
Expand All @@ -25,33 +25,24 @@ jobs:
fi
- name: Install local registry
run: curl -fsSL https://data.scrc.uk/static/localregistry.sh | /bin/bash -s -- -b main
- name: Checkout FAIRDataPipeline/FAIR-CLI
uses: actions/checkout@v2
with:
repository: FAIRDataPipeline/FAIR-CLI
path: FAIR-CLI
- name: Move FAIR-CLI
run: mv FAIR-CLI ../FAIR-CLI
- name: Install Required
run: brew install memcached
if: matrix.os == 'macos-latest'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install and initialise FAIR CLI
- name: Run Tests
run: |
cd ../FAIR-CLI
poetry install
source .venv/bin/activate
cd ${{ github.workspace }}
fair init --ci
fair registry start
pip3 install .
pip3 install pytest
pip3 install coverage
coverage run --source=org.fairdatapipeline.api -m pytest
coverage xml
fair pull src/org/fairdatapipeline/simpleModel/ext/SEIRSconfig.yaml
fair run src/org/fairdatapipeline/simpleModel/ext/SEIRSconfig.yaml
fair pull simpleModel/ext/SEIRSconfig.yaml
fair run simpleModel/ext/SEIRSconfig.yaml

python3 -m poetry run pytest --cov=fairdatapipeline.api --cov-report=xml --cov-report=term -s tests/
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ test.yaml
.fair/

tmp/
src/tests/ext/coderuns.txt
tests/ext/coderuns.txt
data_store

src/org/fairdatapipeline/simpleModel/ext/test.py
fairdatapipeline/simpleModel/ext/test.py

# Sphinx documentation
doc/_build/

# Poetry Lock
poetry.lock
8 changes: 0 additions & 8 deletions .isort.cfg

This file was deleted.

11 changes: 9 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/awslabs/cfn-python-lint
rev: v0.54.1 # The version of cfn-lint to use
Expand All @@ -37,4 +37,11 @@ repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.25.0
hooks:
- id: pyupgrade
- id: pyupgrade
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.790
hooks:
- id: mypy
exclude: ^doc
args: ["--ignore-missing-imports", "--disallow-untyped-defs", "--disallow-untyped-calls", "."]
pass_filenames: false
14 changes: 14 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@
"affiliation": "The University of Sheffield",
"name": "Reddyhoff, Dennis",
"orcid": "0000-0002-4971-2346"
},
{
"affiliation": "The University of Sheffield",
"name": "Turner, Robert"
},
{
"affiliation": "United Kingdom Atomic Energy Authority",
"name": "Viola, Bruno",
"orcid": "0000-0001-5406-5860"
},
{
"affiliation": "United Kingdom Atomic Energy Authority",
"name": "Zarebski, Kristian",
"orcid": "0000-0002-6773-1049"
}
],
"access_right": "open",
Expand Down
Binary file removed doc/_build/doctrees/api/index.doctree
Binary file not shown.
Binary file removed doc/_build/doctrees/environment.pickle
Binary file not shown.
Binary file removed doc/_build/doctrees/examples/SEIRS.doctree
Binary file not shown.
Binary file removed doc/_build/doctrees/index.doctree
Binary file not shown.
Binary file removed doc/_build/doctrees/installation.doctree
Binary file not shown.
Binary file removed doc/_build/doctrees/simpleModel/index.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions doc/_build/html/.buildinfo

This file was deleted.

Empty file removed doc/_build/html/.nojekyll
Empty file.
Binary file removed doc/_build/html/_images/SEIRS_PR.jpeg
Binary file not shown.
Binary file removed doc/_build/html/_images/SEIRS_figure.png
Binary file not shown.
5 changes: 0 additions & 5 deletions doc/_build/html/_sources/api/index.rst.txt

This file was deleted.

94 changes: 0 additions & 94 deletions doc/_build/html/_sources/examples/SEIRS.rst.txt

This file was deleted.

16 changes: 0 additions & 16 deletions doc/_build/html/_sources/index.rst.txt

This file was deleted.

13 changes: 0 additions & 13 deletions doc/_build/html/_sources/installation.rst.txt

This file was deleted.

5 changes: 0 additions & 5 deletions doc/_build/html/_sources/simpleModel/index.rst.txt

This file was deleted.

Loading