-
Notifications
You must be signed in to change notification settings - Fork 11
36 lines (35 loc) · 939 Bytes
/
test.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
name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
server: ['netty3', 'netty4', 'javanet']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
cache: 'gradle'
java-version: '17'
- name: Run unit-tests
uses: gradle/gradle-build-action@v3
with:
arguments: clean test --info --rerun-tasks
- name: Run integration tests on ${{ matrix.server }}
uses: gradle/gradle-build-action@v3
with:
arguments: uitest-${{ matrix.server }} -Dselenide.headless=true
- uses: actions/upload-artifact@v4
if: failure()
with:
name: replay-test-report-${{ matrix.server }}
path: |
**/build/reports
**/build/test-results