add tests for hw6:Base
All checks were successful
All checks were successful
This commit is contained in:
22
.gitea/workflows/wspp.yml
Normal file
22
.gitea/workflows/wspp.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user