Improve gui 2 #1204
Workflow file for this run
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 | |
- 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;only fast | |
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_tests.sh alphadia-env fast | |
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: Unit tests stable;ubuntu-latest;only slow | |
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_tests.sh alphadia-env slow | |
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 |