-
Notifications
You must be signed in to change notification settings - Fork 9
46 lines (42 loc) · 1.04 KB
/
main.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
46
name: GitHub Actions CI
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
branches:
- develop
- master
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
python_script:
name: Checking Java project version
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Checking Java project version
continue-on-error: true
run: |
python ./.github/workflows/scripts/check_java_version.py
build_and_test:
name: Checking gradle build and running tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build and test with Gradle
run: ./adaa.analytics.rules/gradlew build