feat(remove-mls-data-on-device-removed) #WPB-12155 #131
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:1.4.0 | |
# enable postgres | |
services: | |
postgres: | |
image: postgres:15 | |
env: | |
POSTGRES_PASSWORD: postgres | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# 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 |