File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI
2+
3+ on :
4+ push :
5+ branches : [ "task-3-inheritance-(05.03.25)" ]
6+ pull_request :
7+ branches : [ "task-3-inheritance-(05.03.25)" ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout репозиторію
16+ uses : actions/checkout@v2
17+
18+ - name : Set up JDK 11
19+ uses : actions/setup-java@v2
20+ with :
21+ java-version : ' 11'
22+ distribution : ' temurin'
23+
24+ - name : Compile Java Code
25+ run : |
26+ mkdir -p out
27+ javac -d out $(find . -name "*.java")
28+
29+ - name : Run Tests
30+ id : run_tests
31+ run : |
32+ java -cp out main
33+ continue-on-error : true
34+
35+ - name : Calculate Grade
36+ id : grade
37+ if : always()
38+ env :
39+ TESTS_STATUS : ${{ steps.run_tests.outcome }}
40+ run : |
41+ chmod +x .github/workflows/grade.sh
42+ .github/workflows/grade.sh
You can’t perform that action at this time.
0 commit comments