-
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.
Merge branch 'main' into negative_control_tests
- Loading branch information
Showing
11 changed files
with
276 additions
and
79 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 |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
|
||
cd: | ||
# Only run this job if the "ci" job passes | ||
needs: ci | ||
# needs: ci | ||
|
||
# Only run this job if new work is pushed to "main" | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
|
@@ -62,14 +62,24 @@ jobs: | |
- name: Install package | ||
run: poetry install | ||
|
||
- name: Use Python Semantic Release to prepare release | ||
env: | ||
# This token is created automatically by GH Actions | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# This action uses Python Semantic Release v8 | ||
- name: Python Semantic Release | ||
id: release | ||
uses: python-semantic-release/python-semantic-release@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
- name: Install packaging-related tool | ||
run: | ||
python3 -m pip install build twine | ||
|
||
- name: Build package | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
poetry run semantic-release publish | ||
poetry version $(git describe --tags --abbrev=0 | sed 's/^v//') | ||
python -m build --sdist --wheel --outdir dist/ . | ||
ls dist/ | ||
- name: Publish to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
@@ -85,8 +95,8 @@ jobs: | |
--extra-index-url https://pypi.org/simple \ | ||
yarea | ||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
# - name: Publish to PyPI | ||
# uses: pypa/gh-action-pypi-publish@release/v1 | ||
# with: | ||
# user: __token__ | ||
# password: ${{ secrets.PYPI_API_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 |
---|---|---|
|
@@ -139,4 +139,7 @@ dmypy.json | |
**.Rhistory | ||
|
||
# MacOS | ||
.DS_Store | ||
.DS_Store | ||
|
||
# VS Code | ||
.vscode |
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
Binary file not shown.
This file was deleted.
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
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.