Skip to content

IntegrationTest-Scheduled #59

IntegrationTest-Scheduled

IntegrationTest-Scheduled #59

name: IntegrationTest-Scheduled
# the ora-cc-rsc tag number (currently 30) is used twice in this workflow
on:
schedule:
- cron: "30 0 * * *"
jobs:
integration-test:
if: ${{ github.repository == 'OpenRoberta/openroberta-lab' }}
runs-on: ubuntu-latest
container: openroberta/base-x64:30 # ora-cc-rsc tag number
steps:
- name: branch ${{ github.ref }}, repo ${{ github.repository }}, ora-cc-rsc-tag 30 # ora-cc-rsc tag number
uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'adopt'
- name: Cache local maven repository
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with maven and run integration tests
run: mvn --batch-mode clean install -PrunIT