File: ci_windows.ps1

package info (click to toggle)
python-plyer 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: python: 13,395; sh: 217; makefile: 177
file content (19 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function Dependencies {
    python -m pip install --requirement devrequirements.txt
    python -m pip install .
    echo Plyer version is
    python -c "import plyer;print(plyer.__version__)"
}

function Tests {
    $current_directory = (pwd).Path

    python -m coverage run `
    --source "$current_directory\plyer" `
    -m unittest discover `
    --start-directory "$current_directory\plyer\tests" `
    --top-level-directory "$current_directory" `
    --failfast

    python -m coverage report -m
}