Skip to content

Commit

Permalink
add build steps to python-app.yml
Browse files Browse the repository at this point in the history
Now that we have a pyproject.toml, we can verify that the build process works too, and upload artifacts from each run

Artifact retention is set to 14 days
  • Loading branch information
ahouseholder authored Nov 2, 2023
1 parent bb9ca7b commit aca22dd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ jobs:
- name: Test with pytest
run: |
pytest
# stop here for now because we don't have a build step yet
# - name: Build
# run: |
# python -m build
# - name: Upload Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: ssvc
# path: dist/ssvc-*.tar.gz
# retention-days: 14
- name: Build
run: |
python -m build src
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ssvc
path: src/dist/ssvc-*.tar.gz
retention-days: 14

0 comments on commit aca22dd

Please sign in to comment.