Skip to content

Merge pull request #385 from CarlFK/bugfix/SafeConfigParser #16

Merge pull request #385 from CarlFK/bugfix/SafeConfigParser

Merge pull request #385 from CarlFK/bugfix/SafeConfigParser #16

Workflow file for this run

name: Build
on: [push]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: |-
uv venv --system-site-packages
uv pip install pygobject-stubs --config-settings=config=Gtk3,Gdk3
uv sync --dev
- name: Typechecking
run: uv run mypy -p voctocore -p voctogui
- name: Tests
run: uv run pytest
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: false