forked from ask/mode
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* style(pyproject.toml): regroup configuration in pyproject.toml * style(pyproject.toml): regroup configuration in pyproject.toml * docs(mkdocs): setup mkdocs and switch docstring style * style(documentation): switch to mkdocs from sphinx * fix: working on fixing github actions pipeline * build: bump pypy to 3.10 * docs(mkdocs): add file import via snippet * fix: restore install.sh and see if github pipeline pass * fix: rollback install as it changed nothing * fix: rollback github action * Install self in tests.yml and test PyPy 3.9 as well * Revert pip -e invocation in tests.yml lol * fix: restore coveragerc * fix: pytest declare specific dir instead of mean directory * fix: pytest declare specific dir instead of mean directory * fix: pytest declare specific dir instead of mean directory --------- Co-authored-by: William Barnhart <[email protected]>
- Loading branch information
Showing
192 changed files
with
2,196 additions
and
3,868 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Publish Package | ||
|
||
on: | ||
# Only run when release is created in the master branch | ||
release: | ||
types: [created] | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
name: Build distributable files | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- name: 'Checkout source repository' | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-python@v5 | ||
|
||
- name: Install build dependencies | ||
run: pip install build twine | ||
|
||
- name: 'Build package' | ||
run: scripts/build.sh | ||
|
||
- name: Upload build artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: 'dist/*' | ||
|
||
upload_pypi: | ||
name: Upload packages | ||
needs: ['build'] | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- name: Publish package 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
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 |
---|---|---|
|
@@ -84,6 +84,7 @@ Session.vim | |
tags | ||
.pytest_cache/ | ||
.ipython/ | ||
.ruff_cache/ | ||
|
||
### PyCharm | ||
.idea | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
## v0.2.0 (2024-03-02) | ||
|
||
## 0.1.0 (2023-01-10) |
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.