aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2021-09-07 14:02:34 -0500
committerGitHub <noreply@github.com>2021-09-07 22:02:34 +0300
commit92dccd0751fe3522095ab2eecb76efc696fb84d4 (patch)
treeb47df55a44873a750e22bef53476e4f6bfdd708e /.github/workflows
parentRelease version 1.8.1 (diff)
downloadtaskipy2-92dccd0751fe3522095ab2eecb76efc696fb84d4.zip
Only use and install `mslex` on Windows (#36)
* Fix lint issues where encoding was not specified * Only use and install mslex on Windows * Escape backslash in test_windows * Alter Windows CI name Since we actually have some tests other than the path sanity test, it probably makes sense to just call it a Windows test now. * Disable pylint issue with mslex import It's raising an unable to import issue with that line, which makes sense since mslex wouldn't be installed on any other platform other than Windows, but it also wouldn't be run on any other platform so it seems to be a non issue. Co-authored-by: Eugene Triguba <etriguba@sonifi.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/windows.yml (renamed from .github/workflows/windows_sanity.yml)13
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/windows_sanity.yml b/.github/workflows/windows.yml
index a27afb3..980d0bd 100644
--- a/.github/workflows/windows_sanity.yml
+++ b/.github/workflows/windows.yml
@@ -1,6 +1,7 @@
-# This workflow checks that windows paths (a\b\c) work correctly when passed as args to taskipy
+# This workflow checks that windows paths (a\b\c) work correctly when
+# passed as args to taskipy and that mslex is installed.
-name: Taskipy Windows Sanity Test
+name: Taskipy Windows Tests
on:
push:
@@ -13,15 +14,15 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- - name: Set up Python 3.8
+ - name: Set up Python 3.9
uses: actions/setup-python@v2
with:
- python-version: 3.8
+ python-version: 3.9
- 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
+ - name: Test Windows
+ run: poetry run task test_windows