Skip to content

Commit

Permalink
CI: Build and check package
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Jun 3, 2024
1 parent 8bf81d1 commit 3c9514f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,25 @@ jobs:
- name: Test with pytest
run: |
pytest -vv ./tests
build-and-check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.x"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install build twine
- name: Build package
run: python -m build --sdist --wheel
- name: Check package
run: twine check dist/*

0 comments on commit 3c9514f

Please sign in to comment.