Remove arbeitzeisatz when cancelling arbeitsangebot #1221
This file contains hidden or 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: sbt test | |
| on: [push, pull_request,pull_request_target] | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| issues: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install locales | |
| run: sudo apt-get -y install locales | |
| - name: Fix up git URLs | |
| run: echo -e '[url "https://github.com/"]\n insteadOf = "git://github.com/"' >> ~/.gitconfig | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: temurin | |
| - name: Run Tests | |
| run: sbt "coverage; test; coverageReport; coverageAggregate;" | |
| - name: Coverage Report | |
| uses: irongut/[email protected] | |
| with: | |
| filename: target/scala-2.13/coverage-report/cobertura.xml | |
| badge: true | |
| format: "markdown" | |
| indicators: false | |
| hide_complexity: true | |
| output: "both" | |
| - name: Coverage Report Pull Request Comment | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| if: github.event_name == 'pull_request' | |
| with: | |
| recreate: true | |
| path: code-coverage-results.md | |
| - name: Coverage Summary | |
| run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY |