-
Notifications
You must be signed in to change notification settings - Fork 98
46 lines (39 loc) · 1.29 KB
/
manual-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
40
41
42
43
44
45
# Builds manually develop branch using `heavy tests` test suite
name: Develop or custom branch heavy tests MANUAL build
on:
workflow_dispatch:
inputs:
branch:
description: 'Define branch name'
required: true
default: 'develop'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
- 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: |
(while true; do df -h; sleep 60; done;) &
./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