Не открывать браузер в режиме debug #80
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: Unit Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'master' | |
- 'develop' | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '23' | |
distribution: 'liberica' | |
cache: maven | |
- name: Maven Tests | |
run: mvn --batch-mode clean test | |
- name: Test Coverage | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: SonarCloud Analyze | |
run: > | |
mvn --batch-mode sonar:sonar | |
-Dsonar.projectKey=spacious-team_investbook | |
-Dsonar.organization=spacious-team | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.login=$SONAR_TOKEN | |
-Dsonar.coverage.jacoco.xmlReportPaths=./target/site/jacoco/jacoco.xml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |