Move layout creation to Dashboard
(#142)
#19
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: lint-vizro-all | |
defaults: | |
run: | |
working-directory: vizro-core # but could be any folder | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- "main" | |
concurrency: | |
group: lint-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
PYTHONUNBUFFERED: "1" | |
FORCE_COLOR: "1" | |
jobs: | |
run: | |
name: Python ${{ matrix.python-version }} on Linux | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }} | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Hatch | |
run: pip install --upgrade hatch | |
- name: List dependencies | |
run: hatch run all.py${{ matrix.python-version }}:pip freeze | |
- name: Lint | |
run: hatch run all.py${{ matrix.python-version }}:lint |