Skip to content

Commit

Permalink
Ignore vulnerability and change generator workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Reillyhewitson committed Nov 16, 2022
1 parent f224aca commit 1e08ed9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ jobs:
uses: actions/checkout@v2

- name: Create config.yaml
run: cp datagateway_api/config.yaml.example datagateway_api/config.yaml
run: cp config.yaml.example config.yaml
- name: Create search_api_mapping.json
run: cp datagateway_api/search_api_mapping.json.example datagateway_api/search_api_mapping.json
run: cp search_api_mapping.json.example search_api_mapping.json
- name: Install Poetry
run: pip install poetry==1.1.9

Expand Down
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def safety(session):
f"--output={requirements.name}",
external=True,
)
# Ignore 50916 as the latest version of pydantic does not support
# Ignore 50916 as the latest version of pydantic and
# Ignore 5146 as the latest version of pytest does not support
# python 3.6 which is still used in production
session.run(
"safety",
Expand All @@ -81,6 +82,8 @@ def safety(session):
"--full-report",
"--ignore",
"50916",
"--ignore",
"51457",
)

try:
Expand Down

0 comments on commit 1e08ed9

Please sign in to comment.