Fix Timeout #82
Workflow file for this run
This file contains hidden or 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 source file is part of the Stanford Spezi open source project | |
| # | |
| # SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | |
| # | |
| # SPDX-License-Identifier: MIT | |
| # | |
| name: Static Analysis | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| workflow_call: | |
| concurrency: | |
| group: Static-Analysis-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| reuse_action: | |
| name: REUSE Compliance Check | |
| uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | |
| permissions: | |
| contents: read | |
| swiftlint: | |
| name: SwiftLint | |
| uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 | |
| permissions: | |
| contents: read | |
| periphery: | |
| name: Periphery | |
| uses: StanfordBDHG/.github/.github/workflows/periphery.yml@v2 | |
| permissions: | |
| contents: read | |
| with: | |
| runsonlabels: '["macOS", "self-hosted"]' | |
| markdownlinkcheck: | |
| name: Markdown Link Check | |
| uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 | |
| permissions: | |
| contents: read | |
| codeql: | |
| name: CodeQL | |
| uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
| permissions: | |
| security-events: write | |
| actions: read | |
| contents: read | |
| with: | |
| codeql: true | |
| fastlanelane: codeql | |
| pylint: | |
| name: PyLint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.8", "3.9", "3.10"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| - name: Install Infrastructure | |
| run: | | |
| pip install pylint | |
| - name: Install ECGReviewer Dependencies | |
| run: | | |
| pip install -r ./ecg_data_manager/requirements.txt | |
| - name: Analysing the code with pylint | |
| run: | | |
| pylint $(git ls-files '*.py') | |
| black_lint: | |
| name: Black Code Formatter Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| - name: Install Black | |
| run: pip install black[jupyter] | |
| - name: Check code formatting with Black | |
| run: black . --exclude '\.ipynb$' |