156 change which tests are run in ci pipeline #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# checks to run on branches before merging | |
name: branch-checks | |
on: | |
pull_request: | |
push: | |
branches: [main, development] | |
jobs: | |
pre-commit: | |
name: Run all pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/action@v3.0.1 | |
# on branches, we don't test the full matrix (os x [stable, loose]) | |
run-tests: | |
name: Test loose pip installation on ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
uses: ./.github/workflows/_run_tests.yaml | |
with: | |
python-version: ${{ matrix.python-version }} | |
os: ${{ matrix.os }} | |
install-script: "loose_pip_install.sh" |