add Base tests for hw3
This commit is contained in:
22
.gitea/workflows/reverse.yml
Normal file
22
.gitea/workflows/reverse.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: 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.ReverseTest Base
|
||||||
Reference in New Issue
Block a user