forked from online-ml/river
-
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
47d6dc0
commit 653210f
Showing
19 changed files
with
21,779 additions
and
8,472 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 |
---|---|---|
|
@@ -33,7 +33,6 @@ jobs: | |
- name: pytest | ||
run: | | ||
pytest | ||
pytest -m datasets | ||
- name: Build wheels | ||
env: | ||
|
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 |
---|---|---|
|
@@ -3,51 +3,51 @@ name: release-docs | |
on: | ||
push: | ||
tags: | ||
- '*' | ||
- "*" | ||
|
||
jobs: | ||
ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Ubuntu dependencies | ||
run: sudo apt-get install graphviz pandoc | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
pip install -e ".[compat,docs]" | ||
- name: Execute notebooks | ||
run: make execute-notebooks | ||
|
||
- name: Build docs | ||
run: make doc | ||
|
||
- name: Deploy docs | ||
env: | ||
GH_TOKEN: ${{ secrets.GitHubToken }} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config pull.rebase false | ||
git add --all | ||
git commit -m "Execute notebooks" | ||
git fetch | ||
git checkout gh-pages | ||
git pull | ||
git checkout master | ||
RIVER_VERSION=$(python -c "import river; print(river.__version__)") | ||
mike deploy ${RIVER_VERSION} latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git | ||
mike set-default latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Ubuntu dependencies | ||
run: sudo apt-get install graphviz pandoc | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install Python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
pip install -e ".[compat,docs]" | ||
python -m spacy download en_core_web_sm | ||
- name: Execute notebooks | ||
run: make execute-notebooks | ||
|
||
- name: Build docs | ||
run: make doc | ||
|
||
- name: Deploy docs | ||
env: | ||
GH_TOKEN: ${{ secrets.GitHubToken }} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config pull.rebase false | ||
git add --all | ||
git commit -m "Execute notebooks" | ||
git fetch | ||
git checkout gh-pages | ||
git pull | ||
git checkout master | ||
RIVER_VERSION=$(python -c "import river; print(river.__version__)") | ||
mike deploy ${RIVER_VERSION} latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git | ||
mike set-default latest --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git |
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
Oops, something went wrong.