-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (37 loc) · 1.09 KB
/
it.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
44
45
46
name: IT
on:
- push
- workflow_dispatch
jobs:
it:
runs-on: ubuntu-latest
container: ubuntu:22.04
services:
lila:
image: ghcr.io/lichess-org/lila-docker:main
options: --restart=always
steps:
- uses: actions/checkout@v4
with:
ref: main
path: chariot
- name: Install curl
run: apt-get update && apt-get install -y curl
- name: Download OpenJDK 23
run: |
download_url="https://download.java.net/java/GA/jdk23/3c5b90190c68498b986a97f276efd28a/37/GPL/openjdk-23_linux-x64_bin.tar.gz"
curl -Lo $RUNNER_TEMP/java_package.tar.gz $download_url
- uses: actions/setup-java@v4
with:
distribution: 'jdkfile'
jdkFile: ${{ runner.temp }}/java_package.tar.gz
java-version: '23'
architecture: x64
- name: Check java version
run: java -Xinternalversion
- name: Run integration tests
run: cd chariot && java build/Build.java
env:
LILA_API: http://lila:9663
IT_LONG: y
CLEANUP: y