Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport PR #2666 on branch 1.2.x (chore(ci): rename prerelease worflow to resolutions) #2668

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test (prereleases)
name: test (resolution)

on:
pull_request:
Expand All @@ -14,10 +14,10 @@ concurrency:

jobs:
test:
# if PR has label "prerelease tests" or "all tests" or if scheduled or manually triggered
# if PR has label "resolution tests" or "all tests" or if scheduled or manually triggered
if: >-
(
contains(github.event.pull_request.labels.*.name, 'prerelease tests') ||
contains(github.event.pull_request.labels.*.name, 'resolution tests') ||
contains(github.event.pull_request.labels.*.name, 'all tests') ||
contains(github.event_name, 'schedule') ||
contains(github.event_name, 'workflow_dispatch')
Expand All @@ -34,8 +34,14 @@ jobs:
matrix:
os: [ubuntu-latest]
python: ["3.9", "3.10", "3.11", "3.12"]
install-flags:
[
"--prerelease if-necessary-or-explicit",
"--resolution lowest-direct",
"--resolution lowest",
]

name: integration (prereleases)
name: integration

env:
OS: ${{ matrix.os }}
Expand All @@ -53,7 +59,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel uv
python -m uv pip install --prerelease if-necessary-or-explicit --system "scvi-tools[tests] @ ."
python -m uv pip install ${{ matrix.install-flags }} --system "scvi-tools[tests] @ ."

- name: Run pytest
env:
Expand Down
Loading