Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
commit
3ff0a0c056
|
@ -0,0 +1,32 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
# The branches below must be a subset of the branches above
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
IMAGE_NAME: network_inventory
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.9
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install -r requirements/local.txt
|
||||||
|
- name: Lint with flake8
|
||||||
|
run: |
|
||||||
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
|
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||||
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||||
|
- name: Test with pytest
|
||||||
|
run: |
|
||||||
|
pytest -nauto --ds=network_inventory.settings.ram_test --nomigrations
|
|
@ -1,12 +1,12 @@
|
||||||
asgiref==3.5.0
|
asgiref==3.5.2
|
||||||
attrs==21.4.0
|
attrs==22.1.0
|
||||||
coverage==6.5.0
|
coverage==6.5.0
|
||||||
Django==4.1.3
|
Django==4.1.3
|
||||||
django-crispy-forms==1.14.0
|
django-crispy-forms==1.14.0
|
||||||
django-filter==21.1
|
django-filter==21.1
|
||||||
django-floppyforms==1.9.0
|
django-floppyforms==1.9.0
|
||||||
django-guardian==2.4.0
|
django-guardian==2.4.0
|
||||||
django-htmx==1.8.0
|
django-htmx==1.12.2
|
||||||
django-model-utils==4.2.0
|
django-model-utils==4.2.0
|
||||||
django-nested-admin==3.4.0
|
django-nested-admin==3.4.0
|
||||||
django-tables2==2.4.1
|
django-tables2==2.4.1
|
||||||
|
@ -25,7 +25,7 @@ pytest==6.2.5
|
||||||
pytest-cov==3.0.0
|
pytest-cov==3.0.0
|
||||||
pytest-django==4.5.2
|
pytest-django==4.5.2
|
||||||
pytest-forked==1.4.0
|
pytest-forked==1.4.0
|
||||||
pytest-xdist==2.5.0
|
pytest-xdist==3.0.2
|
||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
python-monkey-business==1.0.0
|
python-monkey-business==1.0.0
|
||||||
pytz==2021.3
|
pytz==2021.3
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
asgiref==3.4.1
|
asgiref==3.5.2
|
||||||
astroid==2.9.0
|
astroid==2.9.0
|
||||||
attrs==21.4.0
|
attrs==22.1.0
|
||||||
autopep8==1.6.0
|
autopep8
|
||||||
black==21.12b0
|
black==21.12b0
|
||||||
click==8.0.3
|
click==8.0.3
|
||||||
coverage==6.5.0
|
coverage==6.5.0
|
||||||
|
@ -10,13 +10,13 @@ django-crispy-forms==1.14.0
|
||||||
django-filter==21.1
|
django-filter==21.1
|
||||||
django-floppyforms==1.9.0
|
django-floppyforms==1.9.0
|
||||||
django-guardian==2.4.0
|
django-guardian==2.4.0
|
||||||
django-htmx==1.8.0
|
django-htmx==1.12.2
|
||||||
django-model-utils==4.2.0
|
django-model-utils==4.2.0
|
||||||
django-nested-admin==3.4.0
|
django-nested-admin==3.4.0
|
||||||
django-tables2==2.4.1
|
django-tables2==2.4.1
|
||||||
execnet==1.9.0
|
execnet==1.9.0
|
||||||
Faker==11.1.0
|
Faker==11.1.0
|
||||||
flake8==4.0.1
|
flake8
|
||||||
iniconfig==1.1.1
|
iniconfig==1.1.1
|
||||||
isort==5.10.1
|
isort==5.10.1
|
||||||
jedi==0.18.1
|
jedi==0.18.1
|
||||||
|
@ -32,7 +32,6 @@ platformdirs==2.4.1
|
||||||
pluggy==1.0.0
|
pluggy==1.0.0
|
||||||
py==1.11.0
|
py==1.11.0
|
||||||
pyaml==21.10.1
|
pyaml==21.10.1
|
||||||
pycodestyle==2.8.0
|
|
||||||
pyflakes==2.4.0
|
pyflakes==2.4.0
|
||||||
pylint==2.12.2
|
pylint==2.12.2
|
||||||
pyparsing==3.0.6
|
pyparsing==3.0.6
|
||||||
|
@ -41,7 +40,7 @@ pytest==6.2.5
|
||||||
pytest-cov==3.0.0
|
pytest-cov==3.0.0
|
||||||
pytest-django==4.5.2
|
pytest-django==4.5.2
|
||||||
pytest-forked==1.4.0
|
pytest-forked==1.4.0
|
||||||
pytest-xdist==2.5.0
|
pytest-xdist==3.0.2
|
||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
python-monkey-business==1.0.0
|
python-monkey-business==1.0.0
|
||||||
pytz==2021.3
|
pytz==2021.3
|
||||||
|
@ -52,6 +51,6 @@ sqlparse==0.4.3
|
||||||
text-unidecode==1.3
|
text-unidecode==1.3
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
tomli==1.2.3
|
tomli==1.2.3
|
||||||
typing-extensions==4.0.1
|
typing-extensions==4.4.0
|
||||||
wrapt==1.13.3
|
wrapt==1.13.3
|
||||||
yapf==0.32.0
|
yapf==0.32.0
|
||||||
|
|
Loading…
Reference in New Issue