Skip to content

Commit 0124a5b

Browse files
authored
feat: pre release job (#27)
* feat: pre release job * fix: ah there's else! * oops no overrides unless pre * fix: issue title
1 parent 868afd5 commit 0124a5b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python: ["3.12", "3.13"]
21+
is_pre: [true, false]
2122
package:
2223
# extras should be a comma seperated list of strings, like `extras: "lazy,accelerated"`
2324
# The 'test' extra is always installed
@@ -31,6 +32,8 @@ jobs:
3132
- {name: "pertpy", extras: "de"}
3233
- {name: "decoupler", extras: ""}
3334
- {name: "SnapATAC2", extras: ""}
35+
exclude:
36+
- { python: 3.12, is_pre: true }
3437

3538
defaults:
3639
run:
@@ -89,7 +92,7 @@ jobs:
8992
EXTRAS="test"
9093
fi
9194
fi
92-
uv pip install --compile --system ".[$EXTRAS]" git+https://github.com/scverse/anndata -c ../integration-testing/constraints.txt $GROUP -v
95+
uv pip install ${{ matrix.is_pre && '--prerelease allow' || '' }} --compile --system ".[$EXTRAS]" git+https://github.com/scverse/anndata -c ../integration-testing/constraints.txt ${{ matrix.is_pre && '--override ../integration-testing/overrides.txt' || ''}} $GROUP -v
9396
working-directory: ${{ matrix.package.name }}
9497

9598
- name: Set failure type for install
@@ -119,7 +122,7 @@ jobs:
119122
if: failure() && github.event_name == 'schedule'
120123
id: find_issue
121124
run: |
122-
ISSUE_TITLE="Integration Testing CI ${failure_type^} Failure on python ${{ matrix.python }}"
125+
ISSUE_TITLE="Integration Testing CI ${failure_type^} Failure on python ${{ matrix.python }}${{matrix.is_pre && ' with prerelease dependencies' || ''}}"
123126
echo "Checking for existing issue: $ISSUE_TITLE"
124127
ISSUE_COUNT=$(gh issue list --repo scverse/${{ matrix.package.name }} --state open --search "${ISSUE_TITLE}" --json number --jq 'length')
125128
if [[ "$ISSUE_COUNT" -gt 0 ]]; then

overrides.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pandas>=3

0 commit comments

Comments
 (0)