This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Add sending email after successful account login #561
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: Test | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup env | |
run: cp .github/github.env .env | |
- name: Build server | |
run: docker compose build | |
- name: Run server for testing | |
run: docker compose -f docker-compose.yml -f .github/mail.docker-compose.yml up -d | |
- name: Download maven dependencies | |
run: ./mvnw dependency:copy-dependencies | |
- name: Run tests | |
run: ./mvnw clean test | |
- name: Server logs for debugging purposes | |
if: always() | |
run: cat logs/librepass.log |