Skip to content

workflow

workflow #1

Workflow file for this run

name: Rest Assured Tests
on:
push:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven
- name: Install dependencies
run: mvn install --quiet --batch-mode --no-transfer-progress --projects your-project --also-make
- name: Run Rest Assured tests
run: mvn test --projects your-project --also-make