Add "image adjustment" slider for dynamic image adjustments within Jupyter environments #186
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
| --- | |
| # used for running tests | |
| name: tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| pre_commit_checks: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # checks out the repo | |
| - uses: actions/checkout@v4 | |
| - name: Python setup | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Setup for poetry | |
| run: | | |
| python -m pip install poetry | |
| - name: Simulate version tag for cosmicqc install compatibility | |
| run: | | |
| poetry version 99.0.0 | |
| - name: Install environment | |
| run: poetry install --no-interaction --no-ansi | |
| # run pre-commit | |
| - uses: pre-commit/[email protected] | |
| id: pre_commit | |
| # run pre-commit ci lite for automated fixes | |
| - uses: pre-commit-ci/[email protected] | |
| if: ${{ !cancelled() && steps.pre_commit.outcome == 'failure' }} | |
| run_tests: | |
| strategy: | |
| matrix: | |
| python_version: ["3.9", "3.10", "3.11", "3.12"] | |
| os: [ubuntu-24.04, macos-14] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| OS: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Python setup | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| - name: Setup for poetry | |
| run: | | |
| python -m pip install poetry | |
| - name: Simulate version tag for cosmicqc install compatibility | |
| run: | | |
| poetry version 99.0.0 | |
| - name: Install environment | |
| run: poetry install --no-interaction --no-ansi | |
| - name: Run pytest | |
| # run all tests except those marked generate_report_image | |
| run: poetry run pytest -m "not generate_report_image" |