From a553b79346e49fb501c59c3c0c245393dc502982 Mon Sep 17 00:00:00 2001 From: Torsten Sommer Date: Thu, 21 Nov 2024 15:46:35 +0100 Subject: [PATCH] Use wildcard instead of version to install wheel (#717) --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3725dcec..5691e622 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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