diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb17bb1c..b03e94c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,30 +20,13 @@ env: # Many color libraries just need this to be set to any value, but at least # one distinguishes color depth, where "3" -> "256-bit color". FORCE_COLOR: 3 - + # Use bash by default in all jobs defaults: run: shell: bash -el {0} jobs: - # run pre-commit which includes many formatting and linting tools - pre-commit: - name: Format - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - uses: pre-commit/action@v3.0.1 - with: - extra_args: --hook-stage manual --all-files - - name: Run PyLint - run: pipx run nox -s pylint -- --output-format=github - # Run tests and upload to codecov test: name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }} @@ -52,7 +35,6 @@ jobs: if: | ${{!startsWith(github.event.head_commit.message, 'docs:') }} || ${{!startsWith(github.event.head_commit.message, 'style:') }} - needs: [pre-commit] strategy: # Otherwise, the workflow would stop if a single job fails. We want to # run all of them to catch failures in different combinations.