Skip to content

Merge pull request #67 from MannLabs/64-register-readers #110

Merge pull request #67 from MannLabs/64-register-readers

Merge pull request #67 from MannLabs/64-register-readers #110

# Perform pip installation and run all tests
# For feature branches, we don't test the full matrix (os x [stable, loose]) in order to save time & resources.
# On each push to develop, the whole test matrix runs, additionally, its success is mandatory for merging to main.
# In the (assumed to be rare case) that these full matrix tests fail but the reduced matrix tests passed,
# we will learn about it latest before pushing to main. The merge that caused the issue can then be identified
# from the tests that ran on develop.
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main ]
workflow_dispatch:
name: Pip installation and tests
jobs:
stable_installation:
name: Test stable pip installation on ${{ matrix.os }}
strategy:
matrix:
# macos-latest is now arm64, which cannot install mono
os: [ubuntu-latest, macos-13, windows-latest]
uses: ./.github/workflows/_run_tests.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
install-script: "stable_pip_install.sh"
loose_installation:
name: Test loose pip installation on ${{ matrix.os }}
strategy:
matrix:
# macos-latest is now arm64, which cannot install mono
os: [ubuntu-latest, macos-13, windows-latest]
uses: ./.github/workflows/_run_tests.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
install-script: "loose_pip_install.sh"