From 0eb4b8573cfc3b33d938f99d86efdb00419eadb8 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Wed, 3 Sep 2025 00:56:41 +0200 Subject: [PATCH] Add testbench as action --- .gitea/workflows/test.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..78779e0 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,27 @@ +name: Run the tests for a working verification of xtcl. +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + os: [ubuntu-20.04] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Prepare system + run: | + apt-get update -qy + + - name: Install dependencies + run: | + apt-get install -y curl + curl https://sh.rustup.rs -sSf | sh -s -- -y + + - name: Run test rule using cargo + run: | + cargo test