Skip to content

Commit

Permalink
Inspect github context
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 8, 2025
1 parent 0fecc0f commit e5e24c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- windows-2022
python-version: ["3.11", "3.12"]
is-draft-pr:
- ${{ github.event.pull_request.draft == true }}
- ${{ github.event.pull_request.draft }}
include:
- python-version: "3.11"
os: ubuntu-24.04
Expand All @@ -38,6 +38,12 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
# TODO: remove, only for debugging
- name: Write GitHub context to log
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"

- uses: actions/checkout@v4

- name: Install uv
Expand Down Expand Up @@ -83,7 +89,7 @@ jobs:
- windows-2022
python-version: ["3.11", "3.12"]
is-draft-pr:
- ${{ github.event.pull_request.draft == true }}
- ${{ github.event.pull_request.draft }}
exclude:
# skip Windows jobs on draft PRs because they are slow
- os: windows-2022
Expand Down

0 comments on commit e5e24c9

Please sign in to comment.