chore: version 2.2.0 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 1 | |
fail-fast: true | |
matrix: | |
python-version: ["3.12", "3.11", "3.10"] | |
env: | |
TOGGL_WORKSPACE_ID: ${{ secrets.TOGGL_WORKSPACE_ID }} | |
TOGGL_API_TOKEN: ${{ secrets.TOGGL_API_TOKEN }} | |
DEBIAN_FRONTEND: noninteractive | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y xvfb python3-gi gir1.2-glib-2.0 \ | |
libgirepository1.0-dev gcc libcairo2-dev pkg-config \ | |
python3-dev gir1.2-gtk-4.0 gir1.2-notify gobject-introspection | |
python -m pip install --upgrade pip --no-input | |
pip install poetry tox-gh-actions tox --no-input | |
- name: Run tests | |
run: | | |
tox | |
merge-branch: | |
uses: ./.github/workflows/merge.yaml | |
needs: [test] |