-
Notifications
You must be signed in to change notification settings - Fork 16
/
appveyor.yml
43 lines (35 loc) · 1.09 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: 1.0.{build}
branches:
except:
- gh-pages
skip_tags: true
image:
- Visual Studio 2022
- Ubuntu
stack: node 16, jdk 19, python 3.11 x64
install:
- cmd: choco install openjdk
#- cmd: "SET JAVA_HOME=C:\\Program Files\\Java\\jdk16"
- cmd: "SET JAVA_HOME=C:\\Program Files\\OpenJDK\\jdk-19"
- cmd: "SET PATH=%JAVA_HOME%\\bin;%path%"
- cmd: "SET PYTHON3=C:\\Python311-x64"
- cmd: "SET PATH=%PYTHON3%;%PYTHON3%\\Scripts;%path%"
- cmd: java --version
- cmd: python --version"
- cmd: python -m pip install -r requirements.txt
- sh: java -version
- sh: whereis python3.11
- sh: . /home/appveyor/venv3.11/bin/activate
- sh: python --version
- sh: pip install -r requirements.txt
build_script:
- cmd: .\gradlew.bat build
- sh: bash ./gradlew build
test_script:
- cmd: .\gradlew.bat test jacocoJupTestReport
- cmd: coverage-3.11 run scripts\\run_unit_tests.py
- sh: bash ./gradlew test jacocoJupTestReport
- sh: coverage-3.11 run scripts/run_unit_tests.py
after_test:
- cmd: python scripts\\get_problems_count.py
- sh: python3.11 scripts/get_problems_count.py