-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pr/ggit12/2731
- Loading branch information
Showing
678 changed files
with
26,902 additions
and
17,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
# Based on pydata/xarray | ||
codecov: | ||
require_ci_to_pass: no | ||
require_ci_to_pass: false | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
# Require 1% coverage, i.e., always succeed | ||
target: 1 | ||
patch: false | ||
# Require 75% coverage | ||
target: 75 | ||
changes: false | ||
|
||
comment: | ||
layout: "diff, flags, files" | ||
behavior: once | ||
require_base: no | ||
require_base: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Benchmark | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
benchmark: | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
shell: bash -e {0} # -e to fail on error | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: ["3.12"] | ||
os: [ubuntu-latest] | ||
|
||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python }} | ||
ASV_DIR: "./benchmarks" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
filter: blob:none | ||
|
||
- name: Fetch main branch for `asv run`’s hash | ||
run: git fetch origin main:main | ||
if: ${{ github.ref_name != 'main' }} | ||
|
||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
cache: 'pip' | ||
|
||
- name: Cache datasets | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cache | ||
key: benchmark-state-${{ hashFiles('benchmarks/**') }} | ||
|
||
- name: Install dependencies | ||
run: pip install 'asv>=0.6.4' | ||
|
||
- name: Configure ASV | ||
working-directory: ${{ env.ASV_DIR }} | ||
run: asv machine --yes | ||
|
||
- name: Quick benchmark run | ||
working-directory: ${{ env.ASV_DIR }} | ||
run: asv run --dry-run --quick --show-stderr --verbose HEAD^! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "notebooks"] | ||
path = notebooks | ||
url = https://github.com/scverse/scanpy-tutorials/ |
Oops, something went wrong.