-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
4e5dd1a
commit 602792f
Showing
14 changed files
with
8,078 additions
and
9,550 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# GitHub syntax highlighting | ||
pixi.lock linguist-language=YAML linguist-generated=true |
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 |
---|---|---|
|
@@ -19,27 +19,14 @@ jobs: | |
with: | ||
lfs: true | ||
|
||
- name: Install miniconda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
python-version: "3.12" | ||
|
||
- name: Initialize conda environment | ||
run: make conda-create | ||
|
||
- name: Setup conda | ||
run: make conda-setup | ||
|
||
- name: Install conda dependencies | ||
run: make from-conda-lock | ||
- name: Install pixi | ||
uses: prefix-dev/[email protected] | ||
|
||
- name: Install package dependencies | ||
run: make install | ||
- name: Setup environment | ||
run: pixi install | ||
|
||
- name: Run tests and coverage | ||
run: make test | ||
- name: Get test coverage | ||
run: pixi run tests | ||
|
||
- name: Upload to Codecov | ||
uses: codecov/codecov-action@v4 | ||
|
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 |
---|---|---|
|
@@ -33,27 +33,14 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install miniconda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
python-version: "3.12" | ||
|
||
- name: Initialize conda environment | ||
run: make conda-create | ||
|
||
- name: Setup conda | ||
run: make conda-setup | ||
|
||
- name: Install conda dependencies | ||
run: make from-conda-lock | ||
- name: Install pixi | ||
uses: prefix-dev/[email protected] | ||
|
||
- name: Install docs dependenices | ||
run: make docs-env | ||
- name: Setup environment | ||
run: pixi install | ||
|
||
- name: Build documentation | ||
run: make docs | ||
run: pixi run docs | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
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 |
---|---|---|
|
@@ -11,25 +11,16 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install miniconda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install pixi | ||
uses: prefix-dev/[email protected] | ||
|
||
- name: Install package | ||
run: | | ||
pip install pytest pytest-cov pytest-html coverage colorama | ||
pip install . | ||
- name: Setup environment | ||
run: pixi install | ||
|
||
- name: Run tests | ||
run: pytest -c pyproject.toml --cov=vaxstats --cov-report=xml --junit-xml=report.xml --color=yes tests/ | ||
run: pixi run tests |
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 |
---|---|---|
|
@@ -629,3 +629,7 @@ psi.*.clean | |
|
||
tests/tmp/* | ||
!tests/tmp/.gitkeep | ||
|
||
# pixi environments | ||
.pixi | ||
*.egg-info |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.