Skip to content

Commit

Permalink
w3
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernrennfanz committed Dec 5, 2024
1 parent f1cae82 commit aa49e0a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ jobs:
uses: actions/checkout@v2

- name: Set up QEMU
if: runner.os == 'Linux' && matrix.architecture == 'arm64'
if: matrix.architecture == 'arm64' && runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
Expand All @@ -325,7 +325,7 @@ jobs:
path: pypylon-wheels

- name: Set up Python ${{ matrix.python-version }}
if: runner.os != 'Linux' && matrix.architecture != 'arm64'
if: matrix.architecture != 'arm64' && runner.os != 'Linux'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -338,8 +338,8 @@ jobs:
sudo sed -i 's/^# *\(fr_FR.UTF-8\)/\1/' /etc/locale.gen
sudo locale-gen
- name: Run pypylon unit tests for Python ${{ matrix.python-version }}
if: runner.os == 'Linux' && matrix.architecture == 'arm64'
- name: Run pypylon unit tests for Python ${{ matrix.python-version }} using QEMU
if: matrix.architecture == 'arm64' && runner.os == 'Linux'
uses: addnab/docker-run-action@v3
with:
image: arm64v8/python:${{ matrix.python-version }}-slim
Expand All @@ -354,7 +354,7 @@ jobs:
pip install --no-index --find-links pypylon-wheels pypylon
pytest tests/genicam_tests tests/pylon_tests/emulated
- name: Run pypylon unit tests for Python ${{ matrix.python-version }}
- name: Run pypylon unit tests for Python ${{ matrix.python-version }} without pylon Data Processing
if: runner.os == 'macOS'
run: |
python -m pip install --upgrade pip
Expand All @@ -363,7 +363,7 @@ jobs:
pytest tests/genicam_tests tests/pylon_tests/emulated
- name: Run pypylon unit tests for Python ${{ matrix.python-version }}
if: runner.os != 'macOS' && runner.os != 'Linux' && matrix.architecture != 'arm64'
if: matrix.architecture != 'arm64' && runner.os != 'macOS'
run: |
python -m pip install --upgrade pip
pip install pytest numpy
Expand Down

0 comments on commit aa49e0a

Please sign in to comment.