Skip to content

Commit

Permalink
Use wildcard instead of version to install wheel (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer authored Nov 21, 2024
1 parent 7a617a5 commit a553b79
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: python -m pip install fmpy-0.3.21-py3-none-any.whl[complete]
- if: matrix.name == 'linux' || matrix.name == 'darwin'
run: |
for f in fmpy-*.whl; do
python -m pip install $f[complete]
done
- if: matrix.name == 'windows'
run: |
$files = Get-ChildItem "fmpy-*.whl"
foreach ($f in $files) {
$name = $f.FullName + "[complete]"
python -m pip install $name
}
- run: python -m pip install pytest
- run: pytest tests

0 comments on commit a553b79

Please sign in to comment.