[WIP] PR: Create widget to manage list history #428
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
name: Macos tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: macos-tests-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
macos: | |
name: Mac Py${{ matrix.PYTHON_VERSION }} | |
runs-on: macos-latest | |
env: | |
CI: True | |
QTCONSOLE_TESTING: True | |
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} | |
RUNNER_OS: 'macos' | |
strategy: | |
fail-fast: false | |
matrix: | |
PYTHON_VERSION: ['3.8', '3.9', '3.10', '3.11'] | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v3 | |
- name: Install Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test | |
auto-update-conda: false | |
auto-activate-base: false | |
python-version: ${{ matrix.PYTHON_VERSION }} | |
miniforge-variant: Mambaforge | |
channels: conda-forge | |
channel-priority: strict | |
- name: Install package dependencies | |
shell: bash -l {0} | |
run: mamba env update --file requirements/environment.yml | |
- name: Show environment information | |
shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Run tests | |
shell: bash -l {0} | |
run: pytest -vv --color=yes --cov=qtconsole qtconsole |