Skip to content

Add initial GHA

Add initial GHA #1

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
testing:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
python-version: [3.10]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgirepository1.0-dev libgstreamer-plugins-base1.0-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Install dependencies
run: python -m poetry install -v
- name: Check format
run: |
python -m poetry run isort .
python -m poetry run black .