Add additional waiting times and initial color selection to GUI tests #30
This file contains 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
name: Code Style | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
jobs: | |
Code_Style_Adherence: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
python_version: ['3.11'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 | |
pip install isort | |
pip install black | |
- name: Lint | |
run: | | |
flake8 --append-config ./RodTracker/setup.cfg ./RodTracker | |
flake8 --append-config ./ParticleDetection/setup.cfg ./ParticleDetection | |
- name: Import Sorting | |
run: | | |
isort --settings-file ./RodTracker/pyproject.toml --check ./RodTracker | |
isort --settings-file ./ParticleDetection/pyproject.toml --check ./ParticleDetection | |
- name: Style Adherence | |
run: | | |
black --config ./RodTracker/pyproject.toml --check ./RodTracker | |
black --config ./ParticleDetection/pyproject.toml --check ./ParticleDetection |