mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-12 13:35:31 +03:00
45 lines
852 B
YAML
45 lines
852 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.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)
|
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
|
with:
|
|
packages: wireshark-common
|
|
version: linux-amd64
|
|
|
|
- name: Run all checks
|
|
run: |
|
|
just test
|