Skip to content

Commit

Permalink
run tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
trincaog committed Jan 2, 2024
1 parent 8b53540 commit 93db36c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ jobs:
permissions:
id-token: write
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: ${{ matrix.python-version }}

- name: Set environment variables
id: set_env_variables
Expand All @@ -41,7 +44,7 @@ jobs:

- name: Update version in pyproject.toml
run: >-
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.PKG_VERSION }}/g" pyproject.toml
sed -i "s/{{TAG_NAME}}/${{ steps.tag.outputs.PKG_VERSION }}/g" pyproject.toml
- name: Build package
run: python -m build
Expand Down

0 comments on commit 93db36c

Please sign in to comment.