Skip to content

Commit e32532d

Browse files
committed
Test base and edge case
1 parent 8632ddd commit e32532d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/classroom.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
run: |
3030
mvn -ntp compile
3131
if [ $? -eq 0 ]; then
32-
echo "result=1/1" >> $GITHUB_OUTPUT
32+
echo "result=1/1" >> $GITHUB_OUTPUT
3333
else
34-
echo "result=0/1" >> $GITHUB_OUTPUT
34+
echo "result=0/1" >> $GITHUB_OUTPUT
3535
fi
3636
3737
# ✅ Basic functionality
@@ -40,22 +40,21 @@ jobs:
4040
run: |
4141
mvn -ntp test -Dtest=BasicTest
4242
if [ $? -eq 0 ]; then
43-
echo "result=1/1" >> $GITHUB_OUTPUT
43+
echo "result=1/1" >> $GITHUB_OUTPUT
4444
else
45-
echo "result=0/1" >> $GITHUB_OUTPUT
45+
echo "result=0/1" >> $GITHUB_OUTPUT
4646
fi
4747
4848
# ⚠️ Optional edge cases
4949
- name: Edge Case Tests
5050
id: edge
5151
continue-on-error: true
5252
run: |
53-
# echo "exit_code=0" >> $GITHUB_ENV
5453
mvn -ntp test -Dtest=EdgeCaseTest
5554
if [ $? -eq 0 ]; then
56-
echo "result=1/1" >> $GITHUB_OUTPUT
55+
echo "result=1/1" >> $GITHUB_OUTPUT
5756
else
58-
echo "result=0/1" >> $GITHUB_OUTPUT
57+
echo "result=0/1" >> $GITHUB_OUTPUT
5958
fi
6059
- name: Autograding Reporter
6160
uses: classroom-resources/autograding-grading-reporter@v1

0 commit comments

Comments
 (0)