diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index f7eacd9..b99530b 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -10,6 +10,9 @@ on: wheel_version: default: 2.15.3 +env: + wheel_version: ${{ inputs.wheel_version || '2.15.3' }} + jobs: job1: name: Test package on ubuntu @@ -27,7 +30,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }} + python -m pip install pyexiv2==${{ env.wheel_version }} python -m pip install pytest psutil - name: Test run: | @@ -53,7 +56,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }} + python -m pip install pyexiv2==${{ env.wheel_version }} python -m pip install pytest psutil - name: Test run: | @@ -80,7 +83,7 @@ jobs: python-version: ${{ matrix.python_version }} - name: Install dependencies run: | - python -m pip install pyexiv2==${{ github.event.inputs.wheel_version }} + python -m pip install pyexiv2==${{ env.wheel_version }} python -m pip install pytest psutil - name: Test run: |