Skip to content

Bump pygobject from 3.46.0 to 3.48.1 (#87) #183

Bump pygobject from 3.46.0 to 3.48.1 (#87)

Bump pygobject from 3.46.0 to 3.48.1 (#87) #183

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main # Prevent building other branches to speed up PRs
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
name: Python ${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Pip cache
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
sudo apt-get install python3-gi python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev
sudo apt-get install gir1.2-appindicator3-0.1 python3-cairo-dev
- name: Poetry cache
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Run tests
run: make ci