Skip to content

Merge pull request #287 from MannLabs/bump_minor_from_1.4.3-dev0-prep… #506

Merge pull request #287 from MannLabs/bump_minor_from_1.4.3-dev0-prep…

Merge pull request #287 from MannLabs/bump_minor_from_1.4.3-dev0-prep… #506

# 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:
os: [ubuntu-latest, macOS-latest, windows-latest, macos-latest-xlarge]
uses: ./.github/workflows/_run_tests.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
install-script: pip_install.sh stable,tests
loose_installation:
name: Test loose pip installation on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest, macos-latest-xlarge]
uses: ./.github/workflows/_run_tests.yml
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
install-script: pip_install.sh tests