-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (36 loc) · 1.13 KB
/
test.yaml
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
name: test-java
on:
push:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '16'
cache: 'maven'
- name: Cache RTPTorrent
id: cache-rtptorrent
uses: actions/cache@v3
with:
path: ~/rtp-torrent
key: ${{ runner.os }}-rtp-torrent
- name: Download RTPTorrent
if: steps.cache-rtptorrent.outputs.cache-hit != 'true'
run: |
cd ~
curl --progress-bar https://zenodo.org/record/4046180/files/rtp-torrent-v11.zip?download=1 > rtp-torrent-v11.zip
unzip rtp-torrent-v11.zip
- name: Clone Comet Client
run: git clone https://bitbucket.org/smartesting/comet-clients.git
- name: Build Comet Client
run: cd comet-clients/java/comet-javaclient/ && mvn install
- name: Sanity Check
run: make results/rtptorrent/CloudifySource@cloudify/com.smartbear.tcpbench.engines.OriginalOrder.csv
env:
RTP_TORRENT: ~/rtp-torrent