Skip to content

Commit

Permalink
workflows: Add build job
Browse files Browse the repository at this point in the history
  • Loading branch information
avdgrinten committed Oct 28, 2024
1 parent c005514 commit f32f3fd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,25 @@ jobs:
- name: Run y4 pytests
run: |
pytest tests/
build:
name: Build source package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install hatch
run: |
pip install hatch
- name: Building using hatch
run: |
hatch build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: packages
path: dist/y4-*.tar.gz

0 comments on commit f32f3fd

Please sign in to comment.