Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pulls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on: pull_request
jobs:
pytest:
runs-on: ubuntu-latest
container: python:3.12
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dependencies
run: pip install -e .; pip install pytest
run: |
python -m pip install -e .
python -m pip install pytest
- name: Run pytest
run: pytest
7 changes: 3 additions & 4 deletions .github/workflows/pypi-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ on:

jobs:
build-and-publish:
runs-on: ubuntu-20.04
container: python:3.12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Install pypa/build
run: python -m pip install build --user
run: python -m pip install build
- name: Build wheel & source tarball
run: python -m build --sdist --wheel --outdir dist/ .
- name: Publish to PyPI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading