diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6b63f26..336100c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,22 +10,18 @@ on: - cron: '17 3 * * 0' jobs: - flake8: - name: Flake8 + ruff: + name: Ruff runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 with: - # matches compat target in setup.py - python-version: '3.8' + submodules: true + - uses: actions/setup-python@v5 - name: "Main Script" run: | - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh - # FIXME Remove when we're upgrading to Python 3.10. - rm test/test_pattern_match.py - . ./prepare-and-run-flake8.sh pymbolic test experiments + pip install ruff + ruff check pylint: name: Pylint diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebce8cb1..543be432 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,12 +48,12 @@ Documentation: tags: - linux -Flake8: - script: - - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh - - . ./prepare-and-run-flake8.sh pymbolic test experiments +Ruff: + script: | + pipx install ruff + ruff check tags: - - python3 + - docker-runner except: - tags