Skip to content

Commit

Permalink
github actions / fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetkov-ma committed Aug 16, 2020
1 parent 59589e1 commit 8bd548b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build plugin and execute functional tests

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Print information
run: echo Current build = ${{ github.head_ref }}
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk
architecture: x64
- name: Build / Test
uses: eskatos/gradle-command-action@v1
with:
gradle-version: current
arguments: '--info --stacktrace check'
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ repositories { mavenLocal(); mavenCentral() }
idea { module { downloadJavadoc = true; downloadSources = true } }
gradlePlugin {
plugins {
simplePlugin {
allureServerPlugin {
displayName = 'Allure server (allure-server iopump) integration gradle plugin'
description = 'Add tasks and extension for aggregate allure results to zip archive / send to your allure server / generate report / get report url and send to your CI. See docs / examples: https://github.com/kochetkov-ma/allure-server-gradle'
id = 'ru.iopump.qa.allure'
implementationClass = 'ru.iopump.qa.allure.AllureServerPlugin'
}
Expand All @@ -28,10 +30,4 @@ pluginBundle {
vcsUrl = 'https://github.com/kochetkov-ma/allure-server-gradle'
description = 'Allure server (allure-server iopump) integration gradle plugin'
tags = ['allure-server', 'iopump', 'iopump.ru', 'kochetkov-ma']

plugins {
greetingsPlugin {
displayName = 'Allure server (allure-server iopump) integration gradle plugin'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class AllureServerPluginTest extends Specification {
DockerComposeContainer environment =
new DockerComposeContainer(new File("docker-compose.yml"))
.withExposedService("allure-server", 8080, forListeningPort())
.withExposedService("wiremock", 8081, forListeningPort())

File buildFile

Expand Down

0 comments on commit 8bd548b

Please sign in to comment.