From 26ce44930295b715e4be28c66718ef82165b0836 Mon Sep 17 00:00:00 2001 From: me Date: Fri, 30 Jan 2026 16:39:36 +0500 Subject: [PATCH] add Base tests for hw5 --- .gitea/workflows/fast-reverse.yml | 22 ++++++++++++++++++++++ README.md | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/fast-reverse.yml diff --git a/.gitea/workflows/fast-reverse.yml b/.gitea/workflows/fast-reverse.yml new file mode 100644 index 0000000..184be2d --- /dev/null +++ b/.gitea/workflows/fast-reverse.yml @@ -0,0 +1,22 @@ +name: Fast Reverse Tests + +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java -name "*.java") + + - name: Run Sum tests + run: | + java -ea -cp out reverse.FastReverseTest Base diff --git a/README.md b/README.md index fe75b5e..7f367ef 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,8 @@ include_toc: true * Класс должен иметь имя `WsppPosition` -## Домашнее задание 5. Свой сканнер +## Домашнее задание 5. Свой сканнер [![Fast Reverse Tests](https://git.fymio.us/me/prog-intro-2025/actions/workflows/fast-reverse.yml/badge.svg)](https://git.fymio.us/me/prog-intro-2025/actions) + Модификации * *Base*