diff options
| author | Roy Sommer <illBeRoy@users.noreply.github.com> | 2020-11-28 00:56:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-28 00:56:16 +0200 |
| commit | a77e37f2f02e22f341f2221036bcdac6647807f3 (patch) | |
| tree | 38e43c7840db18d3b96ec50db15b1af6108f3e34 /.github/workflows | |
| parent | Release version 1.5.0 (diff) | |
| download | taskipy2-a77e37f2f02e22f341f2221036bcdac6647807f3.zip | |
Support Windows-Style Paths (#27)
use mslex instead of shlex when running on windows.
added a new windows sanity ci test.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows_sanity.yml | 27 |
1 files changed, 27 insertions, 0 deletions
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 |