Skip to content

Tests on Windows started failing since WSL was made available on GitHub Actions #7518

@The-Compiler

Description

@The-Compiler

See e.g. https://github.com/pytest-dev/pytest/pull/7516/checks?check_run_id=889498913#step:7:172 from #7516.

That smells like a change in the GitHub Actions environments, as the error message reads (with a couple of NUL-bytes in between):

running: bash C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-0\popen-gw0\test_argcomplete0\test_argcomplete --fu
     in: C:\Users\runneradmin\AppData\Local\Temp\pytest-of-runneradmin\pytest-0\popen-gw0\test_argcomplete0
Windows Subsystem for Linux has no installed distributions.


Distributions can be installed by visiting the Microsoft Store:


https://aka.ms/wslstore

Probably due to this: actions/runner-images#1081.
Not sure what to do here. Should we just skip that test on Windows? Or perhaps if on Windows and on GitHub Actions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform: windowswindows platform-specific problemtype: infrastructureimprovement to development/releases/CI structuretype: selftestsa problem in the tests of pytest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions