UnitTesting: workarounds for MSYS2-MinGW64 (pacman) (#35)

This commit is contained in:
Unai Martinez-Corral
2022-01-09 20:19:56 +01:00
committed by GitHub

View File

@@ -70,7 +70,11 @@ jobs:
with: with:
msystem: MINGW64 msystem: MINGW64
update: true update: true
pacboy: python-pip:p pacboy: >-
python-pip:p
python-wheel:p
python-coverage:p
python-lxml:p
- name: 🐍 Setup Python ${{ matrix.python }} - name: 🐍 Setup Python ${{ matrix.python }}
if: matrix.system != 'msys2' if: matrix.system != 'msys2'
@@ -78,10 +82,16 @@ jobs:
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
- name: 🔧 Install dependencies - name: ⚙️ Update pip
run: python -m pip install -U pip
- name: ⚙️ Install wheel
if: matrix.system != 'msys2'
run: | run: |
python -m pip install -U pip wheel python -m pip install -U wheel
python -m pip install ${{ inputs.requirements }}
- name: 🔧 Install dependencies
run: python -m pip install ${{ inputs.requirements }}
- name: ☑ Run unit tests - name: ☑ Run unit tests
if: matrix.system == 'windows' if: matrix.system == 'windows'