gh-248: fix all remaining possible ruff # noqa
statements
#324
Workflow file for this run
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: Test examples | |
on: | |
push: | |
paths: | |
- glass/** | |
branches: | |
- main | |
pull_request: | |
paths: | |
- glass/** | |
types: | |
- opened | |
- ready_for_review | |
- reopened | |
- synchronize | |
concurrency: | |
cancel-in-progress: true | |
group: >- | |
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
jobs: | |
test-examples: | |
if: github.event.pull_request.draft == false | |
name: Test examples | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cache nox | |
uses: actions/cache@v4 | |
with: | |
key: test-${{ hashFiles('pyproject.toml') }} | |
path: .nox | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
cache-dependency-path: pyproject.toml | |
cache: pip | |
python-version: 3.x | |
- name: Install nox | |
run: python -m pip install nox | |
- name: Run examples | |
run: nox -s examples | |
env: | |
FORCE_COLOR: 1 |