Fix config dict passing #1209
This file contains hidden or 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 for each pull request | |
name: branch-checks | |
on: | |
pull_request: | |
jobs: | |
pre-commit: | |
name: Run all pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- shell: bash -le {0} | |
# in order to fix the version, install pre-commit manually | |
run: pip install pre-commit==4.3.0 | |
- uses: pre-commit/action@v3.0.1 | |
# For feature branches, we don't test the full matrix (os x [stable, loose]) in order to save time & resources. | |
run-tests-stable: | |
name: Unit tests stable;ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.10", "3.11", "3.12"] | |
uses: ./.github/workflows/_run_tests.yml | |
with: | |
python-version: ${{ matrix.python-version }} | |
os: ${{ matrix.os }} | |
install-script: ./pip_install.sh stable,tests alphadia-env ${{ matrix.python-version }} true | |
test-script: ./run_unit_integration_tests.sh alphadia-env unit | |
run-notebook-tests-stable: | |
name: Notebook tests stable;ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.12"] | |
uses: ./.github/workflows/_run_tests.yml | |
with: | |
python-version: ${{ matrix.python-version }} | |
os: ${{ matrix.os }} | |
install-script: ./pip_install.sh stable,tests alphadia-env ${{ matrix.python-version }} true | |
test-script: ./run_nb_tests.sh alphadia-env | |
run-slow-tests: | |
name: Integration tests stable;ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.12"] | |
uses: ./.github/workflows/_run_tests.yml | |
with: | |
python-version: ${{ matrix.python-version }} | |
os: ${{ matrix.os }} | |
install-script: ./pip_install.sh stable,tests alphadia-env ${{ matrix.python-version }} true | |
test-script: ./run_unit_integration_tests.sh alphadia-env integration | |
get-code-review-input: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: MannLabs/alphashared/actions/get-code-review-input@v1 | |
continue-on-error: true | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_NUMBER: ${{ github.event.number }} | |
EXCLUDED_EXTENSIONS: ipynb;js |