From 5392ac31599b275a6e8b6d0ff80a8792ba55110d Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 16 Dec 2025 13:25:17 -0300 Subject: [PATCH] Add Forgejo CI workflow for bottest - Compile and run unit tests --- .forgejo/workflows/bottest.yaml | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .forgejo/workflows/bottest.yaml diff --git a/.forgejo/workflows/bottest.yaml b/.forgejo/workflows/bottest.yaml new file mode 100644 index 0000000..f20cd17 --- /dev/null +++ b/.forgejo/workflows/bottest.yaml @@ -0,0 +1,38 @@ +name: GBCI + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + test: + runs-on: gbo + + steps: + - name: Disable SSL verification (temporary) + run: git config --global http.sslVerify false + + - uses: actions/checkout@v4 + + - name: Install Rust + uses: msrd0/rust-toolchain@v1 + with: + toolchain: stable + + - name: Run build + run: | + cargo build --locked + + - name: Run unit tests + run: | + cargo test --locked + + - name: Run integration tests + run: | + cargo test --locked --features integration + + - name: Run all tests with full features + run: | + cargo test --locked --features full