Skip to content

Follow reuse specifications #88

Follow reuse specifications

Follow reuse specifications #88

Workflow file for this run

# Copyright (C) 2022 A. Iooss
# SPDX-License-Identifier: MIT
name: Test python package
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- name: Install APT dependencies
run: |
sudo apt-get update
sudo apt-get install -y gir1.2-gst-plugins-bad-1.0 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-nice gobject-introspection libgirepository1.0-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- uses: actions/checkout@v3
- name: Lint
run: tox -e linters
- name: Test
run: tox -e tests