ci: auto publish in maven central (#58) #13
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: Verify on push to main | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
test: | |
name: Run Unit Tests | |
runs-on: ubuntu-latest | |
env: | |
INTEGRATION_TESTS_ENVIRONMENT_KEY: NTtWcerSBE5yj7a5optMSk | |
INTEGRATION_TESTS_FEATURE_NAME: integration-test-feature | |
INTEGRATION_TESTS_FEATURE_STATE_ID: 321715 | |
INTEGRATION_TESTS_API_TOKEN: ${{ secrets.INTEGRATION_TESTS_API_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Preconfigure gradle | |
uses: ./.github/actions/prepare-gradle | |
- name: Run unit tests | |
run: ./gradlew check -x koverVerify | |
- name: Verify code coverage level | |
run: ./gradlew koverVerify |