mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-27 22:30:11 +03:00
44 lines
823 B
YAML
44 lines
823 B
YAML
name: testing
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- 3.1
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- 3.1
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: pip
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install .[ai-features,dev]
|
|
|
|
- name: Install sharkd (marker replay engine)
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y wireshark-common
|
|
|
|
- name: Run all checks
|
|
run: |
|
|
just test
|