diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90a05be3b..bc7a96d6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,9 @@ concurrency: group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true +env: + CONDA_EXE: mamba + on: push: branches: @@ -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. diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ddebfe6d9..0af449743 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/tests/test_debugging.py b/tests/test_debugging.py index 65f41ae6a..c0a505665 100644 --- a/tests/test_debugging.py +++ b/tests/test_debugging.py @@ -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): @@ -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): diff --git a/tox.ini b/tox.ini index ad1ea9d8a..3df181d89 100644 --- a/tox.ini +++ b/tox.ini @@ -13,7 +13,7 @@ conda_deps = pytest pytest-cov pytest-xdist - coverage <=6.4.0 + coverage # Package dependencies attrs