Bump ruff from 0.8.3 to 0.8.4 (#143) #7
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
name: "Preview" | |
on: | |
push: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
publish_dev_build: | |
name: Preview the package | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-versions: [ "3.13" ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-versions }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --no-input --upgrade pip | |
pip install poetry | |
poetry install -vv -n | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
- name: Run linters | |
run: | | |
poetry run task lint | |
- name: Run unittests | |
run: | | |
poetry run task coverage | |
- name: Build wheels and source tarball | |
run: | | |
poetry version $(poetry version --short)-dev.$GITHUB_RUN_NUMBER | |
poetry version --short | |
poetry build | |
- name: publish to Test PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.TEST_PYPI_API_TOKEN}} | |
repository-url: https://test.pypi.org/legacy/ | |
skip-existing: true |