Merge pull request #1 from groupeminaste/feature/ktor-setup #4
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up our JDK environment | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 19 | |
- name: Install dependencies and run tests | |
run: ./gradlew jvmTest koverXmlReport | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |