feat(move-to-api-v6) #WPB-11222 Update and adapt to Wire backend API … #15
Workflow file for this run
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: Code Check | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
container: wirebot/cryptobox:latest | |
# enable postgres | |
services: | |
postgres: | |
image: postgres:13 | |
env: | |
POSTGRES_PASSWORD: postgres | |
steps: | |
- uses: actions/checkout@v2 | |
# override template environment variables | |
- name: Setup Environment Variables | |
run: | | |
echo "POSTGRES_USER=postgres" >> $GITHUB_ENV | |
echo "POSTGRES_PASSWORD=postgres" >> $GITHUB_ENV | |
echo "POSTGRES_URL=postgres:5432/postgres" >> $GITHUB_ENV | |
- name: Execute Tests | |
run: | | |
mvn test -DargLine="-Djava.library.path=$LD_LIBRARY_PATH" | |
- name: Try to create package | |
run: | | |
mvn package -DskipTests |