-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* switch to uplot, py310 * who uses mac anyway * update distribute and test workflows * add newer py versions requirements * uv pytest * install * no use binary * uv v5 * use venvs * dont need the uv install * dont failf ast * set python version * try mac with different python version * no py3.13 * add macos * fix tests * activate windows * drop py3.12 * fetch tags * editable install * _ * linting * update linting workflow * use astral action * update ruff config * update examples to uplot / lint
- Loading branch information
Showing
36 changed files
with
6,459 additions
and
1,078 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,37 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python 3.9 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
python-version: "3.10" | ||
|
||
- name: Configure Git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
- name: Create test version tag | ||
run: | | ||
# Get number of commits in current branch | ||
COMMIT_COUNT=$(git rev-list --count HEAD) | ||
# Get short SHA | ||
SHA=$(git rev-parse --short HEAD) | ||
# Create a PEP 440 compliant version number | ||
VERSION="0.2.1.dev${COMMIT_COUNT}" | ||
# Create and push tag | ||
git tag -a "v${VERSION}" -m "Test release ${VERSION}" | ||
echo "Created tag v${VERSION}" | ||
- name: Install Hatch | ||
run: pip install hatch | ||
|
||
- name: Build | ||
run: hatch build | ||
|
||
- name: Publish distribution 📦 to Test PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository-url: https://test.pypi.org/legacy/ | ||
repository-url: https://test.pypi.org/legacy/ |
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.