Skip to content

chore: update scalatestplus-play from 5.1.0 to 7.0.1 #1325

chore: update scalatestplus-play from 5.1.0 to 7.0.1

chore: update scalatestplus-play from 5.1.0 to 7.0.1 #1325

Workflow file for this run

name: Run Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: mdillon/postgis:latest
env:
POSTGRES_USER: test
POSTGRES_DB: test
POSTGRES_PASSWORD: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Cache SBT ivy cache
uses: actions/cache@v1
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}
- name: Cache SBT
uses: actions/cache@v1
with:
path: ~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Set up JDK 11.0.9
uses: actions/setup-java@v1
with:
java-version: 11.0.9
- name: Set up Firebase
run: npm install -g firebase-tools
- name: Set up Environment
shell: bash
run: |
cat <<< $FIREBASE_JSON > ./conf/firebase.json
env:
FIREBASE_JSON: ${{ secrets.FIREBASE_JSON_PRODUCTION }}
- name: Run tests
run: |
cd .bin
firebase emulators:exec "cd .. && export FIREBASE_AUTH_EMULATOR_HOST='localhost:9099' && sbt ciTests" --only auth --project demo-bootstrap-play2 --import=./firebase-data
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUBLIC_GITHUB_TOKEN }}
- name: Visualize DB Schema
run: |
pushd $PWD/.bin/schemaspy/
curl -JLO https://search.maven.org/remotecontent?filepath=org/postgresql/postgresql/$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.jar
curl -JL https://github.com/schemaspy/schemaspy/releases/download/v${SCHEMASPY_VERSION}/schemaspy-${SCHEMASPY_VERSION}.jar -o schemaspy.jar
java -jar schemaspy.jar -vizjs
zip -r schemaspy.zip output/
popd
env:
POSTGRESQL_VERSION: "42.5.0"
SCHEMASPY_VERSION: "6.1.0"
- name: Archive schemaspy db documentation
uses: actions/upload-artifact@v3
with:
name: database-documentation
path: .bin/schemaspy/schemaspy.zip