File: windows.yml

package info (click to toggle)
simplemonitor 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,520 kB
  • sloc: python: 8,725; sh: 258; makefile: 74; javascript: 69
file content (37 lines) | stat: -rw-r--r-- 1,015 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
name: Tests (Windows)

on: [push, pull_request]

jobs:
  build:

    runs-on: windows-latest
    strategy:
      matrix:
        python-version: ['3.10', '3.11', '3.12', '3.13']
    name: Python ${{ matrix.python-version }} (Windows)

    steps:
      - uses: actions/checkout@v3
      - name: Setup python
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python-version }}
          architecture: x64
      - name: Check pip
        run: python -m pip --version
      - name: Update pip
        run: python -m pip install --user --upgrade pip
      - name: Install poetry
        run: pip install poetry
      - name: poetry install
        run: poetry install
      - name: create HTML output folder
        run: mkdir html
      - name: Integration tests
        run: make integration-tests
      - name: Integration tests (threaded)
        run: make integration-tests-threaded
      - name: Unit tests
        run: make unit-test
      - uses: codecov/codecov-action@v3