Skip to content

Commit 10c070f

Browse files
Fix Build Errors & Ensure Update Dependencies (#80)
# Fix Build Errors & Ensure Update Dependencies ## ⚙️ Release Notes - Fix Build Errors - Ensure Update Dependencies ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 56c6521 commit 10c070f

35 files changed

+741
-1090
lines changed

.github/workflows/beta-deployment.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ jobs:
6464
steps:
6565
- run: |
6666
echo "Injecting Environment Variables In Deployment Workflow: ${{ vars.FIREBASE_PROJECT_ID }}"
67+
staticanaylsis:
68+
name: Static Analysis
69+
uses: ./.github/workflows/static-analysis.yml
70+
permissions:
71+
security-events: write
72+
actions: read
73+
contents: read
74+
secrets: inherit
6775
buildandtest:
6876
name: Build and Test
6977
needs: determineenvironment

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,10 @@ on:
1414
workflow_call:
1515

1616
concurrency:
17-
group: build-${{ github.ref }}
17+
group: Build-and-Test-${{ github.ref }}
1818
cancel-in-progress: true
1919

2020
jobs:
21-
reuse_action:
22-
name: REUSE Compliance Check
23-
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2
24-
permissions:
25-
contents: read
26-
swiftlint:
27-
name: SwiftLint
28-
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2
29-
permissions:
30-
contents: read
31-
markdownlinkcheck:
32-
name: Markdown Link Check
33-
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
34-
permissions:
35-
contents: read
36-
codeql:
37-
name: CodeQL
38-
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
39-
with:
40-
codeql: true
41-
fastlanelane: build
42-
permissions:
43-
security-events: write
44-
actions: read
4521
buildandtest:
4622
name: Build and Test
4723
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
@@ -65,34 +41,6 @@ jobs:
6541
coveragereports: PAWS.xcresult
6642
secrets:
6743
token: ${{ secrets.CODECOV_TOKEN }}
68-
pylint:
69-
name: PyLint
70-
runs-on: ubuntu-latest
71-
strategy:
72-
matrix:
73-
python-version: ["3.8", "3.9", "3.10"]
74-
steps:
75-
- uses: actions/checkout@v4
76-
- uses: actions/setup-python@v5
77-
- name: Install Infrastructure
78-
run: |
79-
pip install pylint
80-
- name: Install ECGReviewer Dependencies
81-
run: |
82-
pip install -r ./ecg_data_manager/requirements.txt
83-
- name: Analysing the code with pylint
84-
run: |
85-
pylint $(git ls-files '*.py')
86-
black_lint:
87-
name: Black Code Formatter Check
88-
runs-on: ubuntu-latest
89-
steps:
90-
- uses: actions/checkout@v4
91-
- uses: actions/setup-python@v5
92-
- name: Install Black
93-
run: pip install black[jupyter]
94-
- name: Check code formatting with Black
95-
run: black . --exclude '\.ipynb$'
9644
buildandtestdatapipelinenotebook:
9745
name: Build and Test ECG Reviewer Notebook
9846
runs-on: ubuntu-latest
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
#
2+
# This source file is part of the PAWS application based on the Stanford Spezi Template Application project
3+
#
4+
# SPDX-FileCopyrightText: 2023 Stanford University
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
name: Static Analysis
10+
11+
on:
12+
pull_request:
13+
workflow_dispatch:
14+
workflow_call:
15+
16+
concurrency:
17+
group: Static-Analysis-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
reuse_action:
22+
name: REUSE Compliance Check
23+
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2
24+
permissions:
25+
contents: read
26+
swiftlint:
27+
name: SwiftLint
28+
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2
29+
permissions:
30+
contents: read
31+
periphery:
32+
name: Periphery
33+
uses: StanfordBDHG/.github/.github/workflows/periphery.yml@v2
34+
permissions:
35+
contents: read
36+
with:
37+
runsonlabels: '["macOS", "self-hosted"]'
38+
markdownlinkcheck:
39+
name: Markdown Link Check
40+
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
41+
permissions:
42+
contents: read
43+
codeql:
44+
name: CodeQL
45+
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
46+
permissions:
47+
security-events: write
48+
actions: read
49+
contents: read
50+
with:
51+
codeql: true
52+
fastlanelane: codeql
53+
pylint:
54+
name: PyLint
55+
runs-on: ubuntu-latest
56+
strategy:
57+
matrix:
58+
python-version: ["3.8", "3.9", "3.10"]
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: actions/setup-python@v5
62+
- name: Install Infrastructure
63+
run: |
64+
pip install pylint
65+
- name: Install ECGReviewer Dependencies
66+
run: |
67+
pip install -r ./ecg_data_manager/requirements.txt
68+
- name: Analysing the code with pylint
69+
run: |
70+
pylint $(git ls-files '*.py')
71+
black_lint:
72+
name: Black Code Formatter Check
73+
runs-on: ubuntu-latest
74+
steps:
75+
- uses: actions/checkout@v4
76+
- uses: actions/setup-python@v5
77+
- name: Install Black
78+
run: pip install black[jupyter]
79+
- name: Check code formatting with Black
80+
run: black . --exclude '\.ipynb$'

.periphery.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# This source file is part of the PAWS application based on the Stanford Spezi Template Application project
3+
#
4+
# SPDX-FileCopyrightText: 2023 Stanford University
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
project: PAWS.xcodeproj
10+
schemes:
11+
- PAWS
12+
targets:
13+
- PAWS
14+
- PAWSTests
15+
- PAWSUITests

0 commit comments

Comments
 (0)