Skip to content

Commit

Permalink
Adding dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 5, 2023
1 parent 2f3487e commit 74c9c6d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,16 @@ jobs:
- name: Build a wheel
run: |
output_dir="$(mktemp -d)"
python - pip wheel . --wheel-dir "$output_dir"
- name: Test the wheel
python -m pip wheel . --no-deps --wheel-dir "$output_dir"
- name: Install the wheel
run: |
python -m pip uninstall primate -y
python -m pip install $(find "$output_dir" -type f | grep *primate*.whl)
- name: Wheel dry-run
run: |
python -c "import primate; print(primate.__version__)"
- name: Test the wheel
run: |
python -m pytest tests/ --cov=primate --benchmark-skip
coverage report -m
# - name: Make wheel w/ delvewheel
Expand Down

0 comments on commit 74c9c6d

Please sign in to comment.