2025-07-14 22:11:11 +02:00
|
|
|
name: CI
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches: [ main, dev ]
|
|
|
|
|
pull_request:
|
|
|
|
|
branches: [ main, dev ]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
tests:
|
|
|
|
|
runs-on: ubuntu-latest
|
2025-07-14 22:43:18 +02:00
|
|
|
container: catthehacker/ubuntu:rust-latest
|
2025-07-14 22:11:11 +02:00
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
2025-07-15 00:20:20 +02:00
|
|
|
- name: Install tytanic
|
2026-02-04 14:35:01 +01:00
|
|
|
run: cargo binstall tytanic@0.3.3
|
2025-07-14 22:11:11 +02:00
|
|
|
|
|
|
|
|
- name: Run test suite
|
|
|
|
|
run: tt run
|
|
|
|
|
|
|
|
|
|
- name: Archive artifacts
|
2025-07-14 22:53:03 +02:00
|
|
|
uses: https://gitea.com/actions/gitea-upload-artifact@v4
|
2025-07-14 22:11:11 +02:00
|
|
|
if: always()
|
|
|
|
|
with:
|
|
|
|
|
name: artifacts
|
|
|
|
|
path: |
|
|
|
|
|
tests/**/diff/*.png
|
|
|
|
|
tests/**/out/*.png
|
|
|
|
|
tests/**/ref/*.png
|
|
|
|
|
retention-days: 5
|