aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/windows_sanity.yml
blob: a27afb36881fd0f1bc6ccd887f78a62aadec3b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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