Skip to content

Upgrade project, testing with nox, replace VisibleDeprecationWarning #3

Upgrade project, testing with nox, replace VisibleDeprecationWarning

Upgrade project, testing with nox, replace VisibleDeprecationWarning #3

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
release:
types: [published]
pull_request:
paths:
- .github/workflows/deploy.yml
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/numba-stats
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed by setuptools_scm
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install --upgrade pip build
- run: python -m build
- run: python -m pip install --prefer-binary $(echo dist/*.whl)'[test]'
- run: python -m pytest
- uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && contains(github.event.ref, '/tags/')