-
Notifications
You must be signed in to change notification settings - Fork 98
40 lines (34 loc) · 1.12 KB
/
daily-heavy-tests.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
# Builds daily develop branch using `heavy tests` test suite
name: Develop branch heavy tests daily build
on:
schedule:
- cron: '0 9 */1 * *' # 9 AM UTC each day
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: develop
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Free disk space
run: |
sudo apt clean
docker rmi $(docker image ls -aq)
docker system prune -af
echo "Available space"
df -h
- name: Build project and run default test suite
run: |
./scripts/build_and_test.sh
env:
MAVEN_OPTS: "-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120" # Github-on-Azure tweaks - https://github.com/actions/virtual-environments/issues/1499
ENABLE_HEAVY_TESTS: true
MOZ_HEADLESS: 1