-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
scverse-bot
authored and
scverse-bot
committed
May 21, 2024
1 parent
4a0f949
commit 75e7688
Showing
25 changed files
with
562 additions
and
735 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
# Based on pydata/xarray | ||
codecov: | ||
require_ci_to_pass: no | ||
require_ci_to_pass: no | ||
|
||
coverage: | ||
status: | ||
project: | ||
default: | ||
# Require 1% coverage, i.e., always succeed | ||
target: 1 | ||
patch: false | ||
changes: false | ||
status: | ||
project: | ||
default: | ||
# Require 1% coverage, i.e., always succeed | ||
target: 1 | ||
patch: false | ||
changes: false | ||
|
||
comment: | ||
layout: diff, flags, files | ||
behavior: once | ||
require_base: no | ||
layout: diff, flags, files | ||
behavior: once | ||
require_base: no |
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,23 +1,29 @@ | ||
{ | ||
"template": "https://github.com/scverse/cookiecutter-scverse", | ||
"commit": "7cc5403b05e299d7a4bb169c2bd8c27a2a7676f3", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"project_name": "simple-scvi", | ||
"package_name": "simple_scvi", | ||
"project_description": "External and simple implementation of scVI", | ||
"author_full_name": "Adam Gayoso", | ||
"author_email": "[email protected]", | ||
"github_user": "adamgayoso", | ||
"project_repo": "https://github.com/scverse/simple-scvi", | ||
"license": "BSD 3-Clause License", | ||
"_copy_without_render": [ | ||
".github/workflows/**.yaml", | ||
"docs/_templates/autosummary/**.rst" | ||
], | ||
"_template": "https://github.com/scverse/cookiecutter-scverse" | ||
} | ||
}, | ||
"directory": null | ||
"template": "https://github.com/scverse/cookiecutter-scverse", | ||
"commit": "87a407a65408d75a949c0b54b19fd287475a56f8", | ||
"checkout": "v0.4.0", | ||
"context": { | ||
"cookiecutter": { | ||
"project_name": "simple-scvi", | ||
"package_name": "simple_scvi", | ||
"project_description": "External and simple implementation of scVI", | ||
"author_full_name": "Adam Gayoso", | ||
"author_email": "[email protected]", | ||
"github_user": "adamgayoso", | ||
"project_repo": "https://github.com/scverse/simple-scvi", | ||
"license": "BSD 3-Clause License", | ||
"_copy_without_render": [ | ||
".github/workflows/build.yaml", | ||
".github/workflows/test.yaml", | ||
"docs/_templates/autosummary/**.rst" | ||
], | ||
"_render_devdocs": false, | ||
"_jinja2_env_vars": { | ||
"lstrip_blocks": true, | ||
"trim_blocks": true | ||
}, | ||
"_template": "https://github.com/scverse/cookiecutter-scverse" | ||
} | ||
}, | ||
"directory": null | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Scverse Community Forum | ||
url: https://discourse.scverse.org/ | ||
about: If you have questions about “How to do X”, please ask them here. | ||
- name: Scverse Community Forum | ||
url: https://discourse.scverse.org/ | ||
about: If you have questions about “How to do X”, please ask them here. |
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,23 +1,29 @@ | ||
name: Check Build | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.10" | ||
- name: Install build dependencies | ||
run: python -m pip install --upgrade pip wheel twine build | ||
- name: Build package | ||
run: python -m build | ||
- name: Check package | ||
run: twine check --strict dist/*.whl | ||
package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
cache-dependency-path: "**/pyproject.toml" | ||
- name: Install build dependencies | ||
run: python -m pip install --upgrade pip wheel twine build | ||
- name: Build package | ||
run: python -m build | ||
- name: Check package | ||
run: twine check --strict dist/*.whl |
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,29 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
# Use "trusted publishing", see https://docs.pypi.org/trusted-publishers/ | ||
jobs: | ||
release: | ||
name: Upload release to PyPI | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/simple_scvi | ||
permissions: | ||
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
filter: blob:none | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
cache: "pip" | ||
- run: pip install build | ||
- run: python -m build | ||
- name: Publish package distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
Oops, something went wrong.