From 102f08cd2807e0e664064f118a66b0c974c43c0e Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 3 Sep 2025 16:18:52 +0200 Subject: Switch the project from 0xacab to github While the folks running 0xacab are much more lovely than the github ones, this project has outgrown the former: - Github offers beefy continuous integration, make it easier to run the testsuite on every python version, instead of using a weird docker-based contraption. Moreover, I'd rather burn some Microsoft money than 0xacab one. - Opening an account on 0xacab is non-trivial (by design), making it tedious for people to report issues and contribute to mat2. - Gitlab is becoming unbearably slow and convoluted, even compared to Github's awful Copilot/AI push. It's a sad state of affairs, but it's a pragmatic decision. People who don't have a Github account can still report issues and send patches by sending me an email. --- .github/workflows/builds.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/builds.yaml (limited to '.github') diff --git a/.github/workflows/builds.yaml b/.github/workflows/builds.yaml new file mode 100644 index 0000000..f6a62d0 --- /dev/null +++ b/.github/workflows/builds.yaml @@ -0,0 +1,45 @@ +name: CI for Python versions +on: + pull_request: + push: + schedule: + - cron: '0 16 * * 5' + +jobs: + linting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v5 + - run: pip install ruff + - run: | + ruff check . + build: + needs: linting + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14.0-rc.2"] + steps: + - uses: actions/checkout@v5 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + sudo apt-get install --no-install-recommends --no-install-suggests --yes \ + ffmpeg \ + gir1.2-gdkpixbuf-2.0 \ + gir1.2-poppler-0.18 \ + gir1.2-rsvg-2.0 \ + libimage-exiftool-perl \ + python3-gi-cairo \ + libcairo2-dev \ + libgirepository-2.0-dev \ + libgirepository1.0-dev \ + gobject-introspection \ + python3-mutagen + pip install . + - name: Build and run the testsuite + run: python3 -m unittest discover -v -- cgit v1.3