diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index fd7ab91..b18d21b 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -17,6 +17,7 @@ concurrency: cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: + if: github.event.pull_request.draft == false test-examples: name: Test examples runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9319cbb..cba0c2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,14 +13,7 @@ concurrency: cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: - # TODO: replace with a more general pre-commit linter - # style: - # name: Style - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - run: pipx run flake8 glass - + if: github.event.pull_request.draft == false tests: name: Tests runs-on: ubuntu-latest