Multiple speed improvements #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |