Skip to content

feat: 테스트 동작을 위한 step 추가 #5

feat: 테스트 동작을 위한 step 추가

feat: 테스트 동작을 위한 step 추가 #5

Workflow file for this run

name: Qodana
on:
pull_request:
push:
branches:
- main
- 11-modify-architecture
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
cache: 'gradle'
- name: Run Tests
run: ./gradlew test testCodeCoverageReport
- name: Archive coverage data
uses: actions/upload-artifact@v2
with:
name: gradle-coverage-data-jacoco
path: .qodana/code-coverage
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}