-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release v0.2.10 * Fix docs release to run notebooks * Fix docs release workflow to also run when release PR is updated * Add imblearn to docs deps * Fix docs release worklfow to run on cyclops runner * Remove pandoc stuff and kaggle since it runs on cyclops runner
- Loading branch information
Showing
3 changed files
with
8 additions
and
20 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,12 +17,12 @@ on: | |
- '**.rst' | ||
- '**.md' | ||
- docs/cyclops-webpage | ||
types: [labeled, closed] | ||
types: [labeled, closed, synchronize] | ||
|
||
jobs: | ||
release-build: | ||
if: contains(github.event.pull_request.labels.*.name, 'release') || (github.event.action == 'closed' && github.event.pull_request.merged == true) | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.pull_request.labels.*.name, 'release') || (github.event.action == 'closed' && github.event.pull_request.merged == true) || (github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'release')) | ||
runs-on: [self-hosted, db, cyclops] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -33,28 +33,15 @@ jobs: | |
with: | ||
python-version: '3.10' | ||
cache: 'poetry' | ||
- name: Install dependencies, build docs without running notebooks | ||
env: | ||
KAGGLE_USERNAME: ${{ secrets.KAGGLE_USERNAME }} | ||
KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }} | ||
- name: Install dependencies, build docs with running notebooks | ||
run: | | ||
python3 -m pip install --upgrade pip && python3 -m pip install poetry | ||
poetry env use '3.10' | ||
source $(poetry env info --path)/bin/activate | ||
poetry install --with docs,test --all-extras | ||
# Set up Kaggle credentials | ||
mkdir -p ~/.kaggle | ||
echo "{\"username\":\"$KAGGLE_USERNAME\",\"key\":\"$KAGGLE_KEY\"}" > ~/.kaggle/kaggle.json | ||
chmod 600 ~/.kaggle/kaggle.json | ||
# Install Pandoc | ||
PANDOC_VERSION="2.19" | ||
curl -sLo- "https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz" | tar xzf - --strip-components 2 -C /usr/local/bin --exclude="share" | ||
cd docs | ||
rm -rf source/reference/api/_autosummary | ||
make html | ||
make html-with-notebooks | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pycyclops" | ||
version = "0.2.9" | ||
version = "0.2.10" | ||
description = "Framework for healthcare ML implementation" | ||
authors = ["Vector AI Engineering <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -123,6 +123,7 @@ nbsphinx = "^0.9.3" | |
ipython = "^8.8.0" | ||
ipykernel = "^6.23.0" | ||
kaggle = "^1.5.13" | ||
imbalanced-learn = "^0.12.0" | ||
furo = "^2024.01.29" | ||
|
||
[tool.poetry.group.dev] | ||
|