Debian Codegraph @

.github/workflows/pytest.yml

raw symbols SCIP
1 name: Run tests
2
3 on:
4 workflow_dispatch:
5 push:
6 paths:
7 - "pytermgui/**"
8 - "tests/**"
9
10 jobs:
11 build:
12 runs-on: ${{ matrix.os }}
13
14 strategy:
15 matrix:
16 os: [ubuntu-latest, windows-latest, macos-latest]
17 python-version: ["3.8", "3.9", "3.10"]
18
19 steps:
20 - uses: actions/checkout@v2
21
22 - name: Set up Python ${{ matrix.python-version }}
23 uses: actions/setup-python@v4
24 with:
25 python-version: ${{ matrix.python-version }}
26
27 - name: Install dependencies
28 run: |
29 python -m pip install --upgrade pip
30
31 pip install .
32
33 pip install testfixtures
34 pip install pytest-cov
35 pip install coverage
36 pip install pyyaml
37
38 - name: Run tests with coverage
39 run: |
40 make test