Skip to content

Commit

Permalink
ci: faster smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brycedrennan committed Apr 18, 2024
1 parent e163014 commit df6b408
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
build-wheel:
name: Build Wheel
runs-on: ubuntu-latest
outputs:
wheel_name: ${{ steps.set_wheel_name.outputs.wheel_name }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
Expand All @@ -116,8 +118,8 @@ jobs:
- name: Build package
run: python setup.py bdist_wheel
- name: Set wheel filename
id: set-wheel-name
run: echo "WHEEL_FILENAME=$(ls dist/*.whl)" >> "$GITHUB_OUTPUT"
id: set_wheel_name
run: echo "wheel_name=$(ls dist/*.whl)" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v3
with:
name: wheels
Expand All @@ -142,7 +144,7 @@ jobs:
path: dist
- name: Install built wheel
env:
WHEEL_FILENAME: ${{ steps.set-wheel-name.outputs.WHEEL_FILENAME }}
WHEEL_FILENAME: ${{ needs.build-wheel.outputs.wheel_name }}
run: |
python -m pip install uv
uv pip install --system $WHEEL_FILENAME
Expand Down

0 comments on commit df6b408

Please sign in to comment.