diff options
| author | Roberto Bertó <463349+robertoberto@users.noreply.github.com> | 2025-09-19 09:15:47 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-19 09:15:47 -0300 |
| commit | 1ada32975f0bb559ec7526e0dd545700dde1cb94 (patch) | |
| tree | bdb8afb44adf8348c352591e4cd2783e9d54f409 /.github | |
| parent | 9a69a954a086df321640dfa65a2ac0ac35a15095 (diff) | |
| parent | c8d043a5c87e0959327a5231ab1c5bfb5e9f2c47 (diff) | |
| download | pyvyos-1ada32975f0bb559ec7526e0dd545700dde1cb94.tar.gz pyvyos-1ada32975f0bb559ec7526e0dd545700dde1cb94.zip | |
Merge pull request #22 from eduardormorais/release/0.3.0v0.3.0
Release/0.3.0
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/python-pr-validation.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/python-publish.yml | 20 |
2 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/python-pr-validation.yml b/.github/workflows/python-pr-validation.yml index 30f9969..3aae387 100644 --- a/.github/workflows/python-pr-validation.yml +++ b/.github/workflows/python-pr-validation.yml @@ -14,18 +14,16 @@ jobs: - name: Set up Python 3.12 uses: actions/setup-python@v2 with: - python-version: "3.12" + python-version: "3.13" architecture: "x64" - name: Install dependencies run: | python3 -m pip install --upgrade pip - pip install poetry - pip install pytest - poetry lock - poetry config virtualenvs.create false - poetry install --with dev --no-interaction --no-ansi + pip install uv + uv venv + uv pip install -e .[dev] - name: Python Run Tests run: | - pytest -v + uv run pytest -v diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index a5d4550..57189af 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,23 +17,25 @@ permissions: jobs: deploy: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4.1.1 - - name: Set up Python + + - name: Set up Python 3.13 uses: actions/setup-python@v5.0.0 with: - python-version: "3.12.2" - - name: Install dependencies + python-version: "3.13" + + - name: Install UV and build tools run: | python -m pip install --upgrade pip - pip install build - - name: Build package - run: python -m build + pip install uv + + - name: Build package with UV + run: uv build + - name: Publish package - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} |
