Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
6 changes: 5 additions & 1 deletion .gitallowed
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ token=credentials\["token"\]
\"123456789012\"
pytokens
.*(GITHUB|SONAR)_TOKEN: \$\{\{ secrets.(GITHUB|SONAR)_TOKEN \}\}
.*asttokens = ">=2.1.0"
.*asttokens = ">=2.1.0"
.*test.*
.*testpypi.*
.*pytest.*
coverage-.*-test
8 changes: 4 additions & 4 deletions .github/workflows/merge-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: github.repository == 'NHSDigital/nhs-aws-helpers' && !contains(github.event.head_commit.message, 'tag release version:')
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
if: github.actor != 'dependabot[bot]' && (success() || failure())
run: |
export SONAR_VERSION="4.7.0.2747"
wget -q "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
unzip -q ./sonar-scanner.zip
mv ./sonar-scanner-${SONAR_VERSION} ./sonar-scanner
scripts/sonar_tests.py
Expand All @@ -82,7 +82,7 @@ jobs:

- name: publish junit reports
if: success() || failure()
uses: mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3
uses: mikepenz/action-junit-report@e08919a3b1fb83a78393dfb775a9c37f17d8eea6
with:
check_name: junit reports
report_paths: reports/junit/*.xml
Expand All @@ -96,7 +96,7 @@ jobs:
if: github.repository == 'NHSDigital/nhs-aws-helpers' && github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, 'tag release version:')
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
if: github.repository == 'NHSDigital/nhs-aws-helpers'
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
if: github.repository == 'NHSDigital/nhs-aws-helpers'
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
if: success() || failure()
run: |
export SONAR_VERSION="4.7.0.2747"
wget -q "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
unzip -q ./sonar-scanner.zip
mv ./sonar-scanner-${SONAR_VERSION} ./sonar-scanner
scripts/sonar_tests.py
Expand All @@ -175,14 +175,14 @@ jobs:

- name: archive reports
if: success() || failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: reports
path: reports/**/*

- name: publish junit reports
if: success() || failure()
uses: mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3
uses: mikepenz/action-junit-report@e08919a3b1fb83a78393dfb775a9c37f17d8eea6
with:
check_name: junit reports
report_paths: reports/junit/*.xml
Expand All @@ -196,7 +196,7 @@ jobs:
if: github.repository == 'NHSDigital/nhs-aws-helpers'
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
- tox
steps:
- name: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"python.linting.mypyEnabled": true,
"python.linting.enabled": true,
"python.testing.pytestArgs": [
"src"
"tests"
],
"python.defaultInterpreterPath": ".venv/bin/python",
"python.testing.unittestEnabled": false,
Expand Down
Loading
Loading