style: apply ruff auto-fixes and formatting for consolidation branch #153
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uv sync --all-packages | |
| - run: uv run ruff check packages/ | |
| - run: uv run ruff format --check packages/ | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| package: | |
| - gds-framework | |
| - gds-domains | |
| - gds-sim | |
| - gds-continuous | |
| - gds-analysis | |
| - gds-interchange | |
| - gds-viz | |
| - gds-examples | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| - run: uv sync --all-packages | |
| - name: Run tests | |
| env: | |
| HYPOTHESIS_PROFILE: ci | |
| run: | | |
| if [ "${{ matrix.package }}" = "gds-examples" ]; then | |
| uv run python -m pytest packages/gds-examples -v | |
| else | |
| uv run python -m pytest packages/${{ matrix.package }}/tests -v | |
| fi |