This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to uv Signed-off-by: zethson <[email protected]> * python -m Signed-off-by: zethson <[email protected]> * system Signed-off-by: zethson <[email protected]> * system #2 Signed-off-by: zethson <[email protected]> * install UV for coverage Signed-off-by: zethson <[email protected]> * Remove @ Signed-off-by: zethson <[email protected]> * explicit naming Signed-off-by: zethson <[email protected]> * explicit naming Signed-off-by: zethson <[email protected]> * fully editable Signed-off-by: zethson <[email protected]> * fully editable Signed-off-by: zethson <[email protected]> * fully editable Signed-off-by: zethson <[email protected]> * coverage fix Signed-off-by: zethson <[email protected]> * Simplify Signed-off-by: zethson <[email protected]> * Simplify Signed-off-by: zethson <[email protected]> --------- Signed-off-by: zethson <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
17 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.10"] | ||
python-version: ["3.11"] | ||
group: ["bionty-unit", "bionty-docs"] | ||
timeout-minutes: 25 | ||
|
||
|
@@ -35,11 +35,9 @@ jobs: | |
path: lndocs | ||
ref: main | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" | ||
cache-dependency-path: ".github/workflows/build.yml" # See dependencies below | ||
- name: Cache pre-commit | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -48,10 +46,10 @@ jobs: | |
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install -U pip | ||
pip install -U laminci | ||
pip install rich | ||
pip install ipywidgets | ||
python -m pip install -U pip uv | ||
python -m uv pip install --system -U laminci | ||
python -m uv pip install --system rich | ||
python -m uv pip install --system ipywidgets | ||
- name: Configure AWS | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
|
@@ -61,7 +59,7 @@ jobs: | |
aws-region: eu-central-1 | ||
|
||
- name: Lint | ||
if: matrix.python-version == '3.10' && matrix.group == 'bionty-unit' | ||
if: matrix.python-version == '3.11' && matrix.group == 'bionty-unit' | ||
run: | | ||
nox -s lint | ||
- name: Build | ||
|
@@ -75,7 +73,7 @@ jobs: | |
path: .coverage | ||
|
||
- name: Deploy docs | ||
if: ${{ matrix.python-version == '3.10' && matrix.group == 'bionty-docs' }} | ||
if: ${{ matrix.python-version == '3.11' && matrix.group == 'bionty-docs' }} | ||
id: netlify | ||
uses: nwtgck/[email protected] | ||
with: | ||
|
@@ -92,14 +90,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
cache-dependency-path: ".github/workflows/build.yml" | ||
python-version: "3.11" | ||
- run: | | ||
pip install coverage[toml] | ||
pip install --no-deps . | ||
python -m pip install -U pip uv | ||
uv pip install --system coverage[toml] | ||
uv pip install --system --no-deps . | ||
- uses: actions/download-artifact@v2 | ||
- name: run coverage | ||
run: | | ||
|
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