aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows_sanity.yml27
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