From b8b775c3cef9b794fa0a2bc440900f70a897069c Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Mon, 14 Jul 2025 22:11:11 +0200 Subject: [PATCH] added CI workflow --- .gitea/workflows/ci.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..14353d9 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,33 @@ +name: CI +on: + push: + branches: [ main, dev ] + pull_request: + branches: [ main, dev ] + +jobs: + tests: + runs-on: ubuntu-latest + container: catthehacker/ubuntu:act-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install tytanic + uses: taiki-e/cache-cargo-install-action@v2 + with: + tool: tytanic@0.2.2 + + - name: Run test suite + run: tt run + + - name: Archive artifacts + uses: actions/upload-artifact@v4 + if: always() + with: + name: artifacts + path: | + tests/**/diff/*.png + tests/**/out/*.png + tests/**/ref/*.png + retention-days: 5 \ No newline at end of file