-
Notifications
You must be signed in to change notification settings - Fork 399
44 lines (33 loc) · 1.08 KB
/
pr.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
name: Build Automation
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '5.6'
tools: composer
- name: Prepare upload
run: ./prepare-upload.sh
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '8'
cache: maven
- name: Maven tests
run: mvn -T 1C -Djava.awt.headless=true -Dmaven.test.redirectTestOutputToFile=true --fail-at-end --batch-mode org.jacoco:jacoco-maven-plugin:prepare-agent test org.jacoco:jacoco-maven-plugin:report install
# working-directory: ./plugins/dummy
- name: Codecov
uses: codecov/[email protected]
- name: Perform upload
run: 'curl --fail -vk https://jmeter-plugins.org/unzip.php -F "zipfile=@upload/site.zip" -H "Authorization: Bearer ${{ secrets.UPLOAD_TOKEN }}"'
if: github.ref == 'refs/heads/master'