-
Notifications
You must be signed in to change notification settings - Fork 62
43 lines (41 loc) · 1.21 KB
/
Copy pathdevtest.yml
File metadata and controls
43 lines (41 loc) · 1.21 KB
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
38
39
40
41
42
43
name: Comitup Dev Tests
on:
push:
branches:
- main
- test
pull_request:
jobs:
noxtest:
name: Devtest
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check out
uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Update apt registry
run: sudo apt-get update
- name: Install build tools
run: sudo apt-get install build-essential
- name: Install deb packages
run: >
sudo apt-get install
libcairo2-dev gobject-introspection libgirepository-2.0-dev
python3-dev libdbus-glib-1-dev libdbus-1-dev
python3-gi python3-flask python3-dbus python3-cachetools
iw dnsmasq-base nftables
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install nox mypy ruff cachetools types-tabulate types-Flask
pip install types-cachetools dbus-python pytest python-networkmanager
pip install pygobject
- name: Run tests
run: |
python ./devtest.py