From dec9762ba209f94e132301a187791858f1507550 Mon Sep 17 00:00:00 2001 From: me Date: Mon, 2 Feb 2026 13:27:07 +0500 Subject: [PATCH] add tests for hw6:Base --- .gitea/workflows/wspp.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/wspp.yml diff --git a/.gitea/workflows/wspp.yml b/.gitea/workflows/wspp.yml new file mode 100644 index 0000000..c31ed23 --- /dev/null +++ b/.gitea/workflows/wspp.yml @@ -0,0 +1,22 @@ +name: Word Stat++ 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 Word Stat++ tests + run: | + java -ea -cp out wspp.WsppTest Base