Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
CONDA_EXE: mamba

on:
push:
branches:
Expand All @@ -24,18 +27,20 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-update-conda: false
python-version: ${{ matrix.python-version }}
channels: conda-forge,nodefaults
mamba-version: "*"

- name: Install core dependencies.
shell: bash -l {0}
run: conda install -c conda-forge tox-conda coverage
run: mamba install -c conda-forge tox-conda coverage

# Unit, integration, and end-to-end tests.

Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ repos:
hooks:
- id: refurb
args: [--ignore, FURB126]
language_version: python3.10
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_debugging.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def task_example():


@pytest.mark.end_to_end
@pytest.mark.xfail(reason="#312")
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
def test_pdb_interaction_capturing_simple(tmp_path):
Expand Down Expand Up @@ -283,6 +284,7 @@ def task_2():


@pytest.mark.end_to_end
@pytest.mark.xfail(reason="#312")
@pytest.mark.skipif(not IS_PEXPECT_INSTALLED, reason="pexpect is not installed.")
@pytest.mark.skipif(sys.platform == "win32", reason="pexpect cannot spawn on Windows.")
def test_pdb_interaction_capturing_twice(tmp_path):
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ conda_deps =
pytest
pytest-cov
pytest-xdist
coverage <=6.4.0
coverage

# Package dependencies
attrs
Expand Down