From a77e37f2f02e22f341f2221036bcdac6647807f3 Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Sat, 28 Nov 2020 00:56:16 +0200 Subject: Support Windows-Style Paths (#27) use mslex instead of shlex when running on windows. added a new windows sanity ci test. --- .github/workflows/windows_sanity.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/windows_sanity.yml (limited to '.github/workflows') diff --git a/.github/workflows/windows_sanity.yml b/.github/workflows/windows_sanity.yml new file mode 100644 index 0000000..a27afb3 --- /dev/null +++ b/.github/workflows/windows_sanity.yml @@ -0,0 +1,27 @@ +# This workflow checks that windows paths (a\b\c) work correctly when passed as args to taskipy + +name: Taskipy Windows Sanity Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install Poetry + run: | + python -m pip install --upgrade pip + pip install poetry + - name: Install dependencies + run: poetry install + - name: Test Windows-Style Paths + run: poetry run task run_unittest_as_windows_sanity tests\test_windows_sanity.py -- cgit v1.2.3