Skip to content

Fix debugging comment in sample config file #81

Fix debugging comment in sample config file

Fix debugging comment in sample config file #81

Workflow file for this run

name: Run tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v3
with:
python-version: ${{matrix.python-version}}
- name: Install system build deps
run: |
sudo apt install libgirepository1.0-dev libcaca0 gir1.2-gstreamer-1.0
- name: Install runtime tools
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Setup poetry env
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest
- name: Test package build
run: |
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) \
poetry build
- name: Test pex build
run: |
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) \
poetry run pex . -o dist/tuatara.${{matrix.python-version}} -c tuatara