-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from BookOps-CAT/github-actions-ci
Dependencies updates & Github-Actions
- Loading branch information
Showing
14 changed files
with
592 additions
and
536 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
relative_files = True |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: bookops-nypl-platform-unit-tests | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10"] | ||
name: Python ${{ matrix.python-version}} sample | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version}} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements.txt | ||
python -m pip install -r dev-requirements.txt | ||
- name: Run tests | ||
run: pytest -m "not webtest" --cov=bookops_nypl_platform/ | ||
- name: Send report to Coveralls | ||
uses: AndreMiras/coveralls-python-action@develop | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN}} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
atomicwrites==1.4.0; python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.4.0" | ||
attrs==21.4.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7" | ||
black==22.1.0; python_full_version >= "3.6.2" | ||
certifi==2021.10.8; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" | ||
charset-normalizer==2.0.11; python_full_version >= "3.6.0" and python_version >= "3" | ||
click==8.0.3; python_version >= "3.6" and python_full_version >= "3.6.2" | ||
colorama==0.4.4; python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" and platform_system == "Windows" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0" and platform_system == "Windows" | ||
coverage==6.3.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7" | ||
ghp-import==2.0.2; python_version >= "3.6" | ||
idna==3.3; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5" | ||
importlib-metadata==4.10.1; python_version < "3.8" and python_version >= "3.7" | ||
iniconfig==1.1.1; python_version >= "3.7" | ||
jinja2==3.0.3; python_version >= "3.7" | ||
markdown==3.3.6; python_version >= "3.7" | ||
markupsafe==2.0.1; python_version >= "3.6" | ||
mergedeep==1.3.4; python_version >= "3.6" | ||
mike==0.5.5 | ||
mkapi==1.0.14; python_version >= "3.7" | ||
mkdocs==1.2.3; python_version >= "3.6" | ||
mypy-extensions==0.4.3; python_full_version >= "3.6.2" | ||
packaging==21.3; python_version >= "3.7" | ||
pathspec==0.9.0; python_full_version >= "3.6.2" | ||
platformdirs==2.4.1; python_version >= "3.7" and python_full_version >= "3.6.2" | ||
pluggy==1.0.0; python_version >= "3.7" | ||
py==1.11.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7" | ||
pyparsing==3.0.7; python_version >= "3.6" | ||
pytest-cov==2.12.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") | ||
pytest-mock==3.7.0; python_version >= "3.7" | ||
pytest==6.2.5; python_version >= "3.6" | ||
python-dateutil==2.8.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" | ||
pyyaml-env-tag==0.1; python_version >= "3.6" | ||
pyyaml==6.0; python_version >= "3.6" | ||
requests==2.27.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0") | ||
ruamel.yaml.clib==0.2.6; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.5" | ||
ruamel.yaml==0.17.20; python_version >= "3" | ||
six==1.16.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6" | ||
toml==0.10.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7" | ||
tomli==2.0.0; python_version >= "3.7" and python_full_version >= "3.6.2" | ||
typed-ast==1.5.2; python_version < "3.8" and implementation_name == "cpython" and python_full_version >= "3.6.2" and python_version >= "3.6" | ||
typing-extensions==4.0.1; python_version < "3.8" and python_full_version >= "3.6.2" and python_version >= "3.7" | ||
urllib3==1.26.8; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version < "4" | ||
watchdog==2.1.6; python_version >= "3.6" | ||
zipp==3.7.0; python_version < "3.8" and python_version >= "3.7" |
Oops, something went wrong.