-
Notifications
You must be signed in to change notification settings - Fork 1
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
0900516
commit 579582b
Showing
5 changed files
with
29 additions
and
16 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 |
---|---|---|
@@ -1,11 +1,10 @@ | ||
name: ci | ||
name: ci | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- ci | ||
tags: | ||
- v* | ||
jobs: | ||
deploy: | ||
deploy-doc: | ||
runs-on: ubuntu-latest | ||
steps: | ||
#---------------------------------------------- | ||
|
@@ -17,16 +16,12 @@ jobs: | |
id: setup-python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: 3.9 | ||
#---------------------------------------------- | ||
# ----- install & configure poetry ----- | ||
# install & configure poetry | ||
#---------------------------------------------- | ||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
#---------------------------------------------- | ||
# load cached venv if cache exists | ||
#---------------------------------------------- | ||
|
@@ -45,5 +40,17 @@ jobs: | |
#---------------------------------------------- | ||
# run test suite | ||
#---------------------------------------------- | ||
- run: poetry run pytest | ||
- run: poetry run mkdocs gh-deploy --force | ||
- name: Tests | ||
run: poetry run pytest | ||
- name: Deploy doc | ||
run: poetry run mkdocs gh-deploy --force | ||
publish: | ||
needs: [deploy-doc] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
python_version: "3.9" | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} |
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,6 @@ | ||
## [1.5.4] - 2024-01-08 | ||
|
||
### Added | ||
- `CHANGELOG.md` file | ||
- Fix NA presence in `refine_fit` when not all pops are predicted [#27](https://github.com/MICS-Lab/scyan/issues/27) | ||
- Deploy on PyPI when pushing a new version (i.e., a tag that starts with `v`) |
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