Skip to content

Commit

Permalink
Fix pyproject.toml and remove build from github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsWinter committed Dec 10, 2024
1 parent e2ca86a commit 04bec37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,41 +37,4 @@ jobs:
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
fail_ci_if_error: true # Fails the CI if uploading fails

build:
name: Build and Publish Distribution
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0 # Full depth for versioning or changelog needs

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install Dependencies
run: |
poetry install
- name: Build Distribution
run: |
poetry build
- name: List Artifacts
run: |
ls -al dist/
- name: Upload Artifacts (optional)
uses: actions/upload-artifact@v3
with:
name: package-dist
path: dist/
fail_ci_if_error: true # Fails the CI if uploading fails
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ authors = [
]
license = "MIT"
readme = "README.md"
requires-python = ">=3.11"

[tool.poetry.dependencies]
python = ">=3.11"
Expand Down

0 comments on commit 04bec37

Please sign in to comment.