Skip to content

Commit 3e878f3

Browse files
committed
Uncommit
1 parent 4c1ae91 commit 3e878f3

File tree

2 files changed

+21
-23
lines changed

2 files changed

+21
-23
lines changed

.github/workflows/CI.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ jobs:
7070
runs-on: ubuntu-24.04
7171

7272
steps:
73-
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
74-
- name: Done
75-
run: exit 0
73+
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
74+
- name: Done
75+
run: exit 0

.github/workflows/run_tests.yaml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,24 @@ jobs:
2121
run_test:
2222
runs-on: ${{ inputs.runs-on }}
2323
steps:
24-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
26-
with:
27-
python-version: ${{ inputs.python-version }}
28-
freethreaded: ${{ inputs.freethreaded }}
29-
- name: Install uv
30-
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
31-
with:
32-
version: "0.9.5"
24+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
25+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
26+
with:
27+
python-version: ${{ inputs.python-version }}
28+
freethreaded: ${{ inputs.freethreaded }}
29+
- name: Install uv
30+
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
31+
with:
32+
version: "0.9.5"
3333

34-
- name: Install package
35-
run: |
36-
which python
37-
python --version
38-
uv pip install . -r ${{ inputs.requirements-file }} -v --reinstall --system
39-
python -c "import parsnip; print('parsnip', parsnip.__version__)"
34+
- name: Install package
35+
run: |
36+
which python
37+
python --version
38+
uv pip install . -r ${{ inputs.requirements-file }} -v --reinstall --system
39+
python -c "import parsnip; print('parsnip', parsnip.__version__)"
4040
41-
if [ "${{ inputs.freethreaded }}" = "true" ]; then
42-
python -c "import sys; print('GIL: ', sys._is_gil_enabled)"
43-
fi
41+
python -c "import sys; print('GIL:', getattr(sys, '_is_gil_enabled', lambda: 'unknown')())"
4442
45-
- name: Test with pytest
46-
run: python -m ${{ runner.os != 'Windows' && 'pytest' || 'pytest tests' }} -v -n auto
43+
- name: Test with pytest
44+
run: python -m ${{ runner.os != 'Windows' && 'pytest' || 'pytest tests' }} -v -n auto

0 commit comments

Comments
 (0)