Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoVellekoop committed Oct 4, 2024
2 parents b824c3d + ca40a14 commit 8cba297
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: PyTest

on: [workflow_call, push, pull_request]
on:
# [workflow_call, push, pull_request]

jobs:
build:
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/testpypi.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Publish to TestPyPI using Poetry

# trigger upload on a new push to master
on:
push:
branches:
- master # You can change this to the branch you want to trigger the workflow

- master
jobs:
build:
runs-on: ubuntu-latest

# enable openid authentication for PyPi
permissions:
id-token: write # Required for OIDC

steps:
# Checkout the repository
- name: Check out the repository
Expand All @@ -22,9 +27,10 @@ jobs:

# Install Poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
uses: abatilo/actions-poetry@v2
with:
version: '1.8.3'

# Install dependencies and build the project
- name: Install dependencies and build package
run: |
Expand All @@ -34,4 +40,4 @@ jobs:
# Publish to TestPyPI
- name: Publish to TestPyPI
run: |
poetry publish --repository testpypi --build
poetry publish --repository testpypi

0 comments on commit 8cba297

Please sign in to comment.