Skip to content

fix(deps): update dependency io.mockk:mockk to v1.13.13 #215

fix(deps): update dependency io.mockk:mockk to v1.13.13

fix(deps): update dependency io.mockk:mockk to v1.13.13 #215

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches: [ main ]
pull_request:
branches:
- '*'
jobs:
compile:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up JDK 15
uses: actions/setup-java@v1
with:
java-version: 15
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches/
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Compile with gradle
run: ./gradlew assemble
test:
runs-on: ubuntu-latest
env:
SECRET: dna8sdh8ashd8asnd8asd
ISSUER: turnierverwaltung
USER: root
PASSWORD: secret
DATABASE: people_management-test
SERVER: localhost
PORT: 8080
PORT_DB: 5432
PGPASSWORD: secret
services:
postgres:
# Docker Hub image
image: postgres:latest
env:
POSTGRES_USER: "root"
POSTGRES_PASSWORD: "secret"
POSTGRES_DB: "people_management-test"
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up JDK 15
uses: actions/setup-java@v1
with:
java-version: 15
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test with gradle
run: ./gradlew test