Skip to content

Commit

Permalink
smoke test sdist in PR CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lapp0 committed Oct 10, 2024
1 parent 6ec5e38 commit 5f2820a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,23 @@ jobs:
run: cargo install cargo-audit
- name: Run cargo audit
run: cargo audit

smoke_test_sdist_build:
name: Smoke test source distribution build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel setuptools-rust
- name: Build sdist
run: python -m build --sdist
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
name: sdist

0 comments on commit 5f2820a

Please sign in to comment.