Skip to content

Commit

Permalink
Update codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lilgreenbird committed Feb 20, 2024
1 parent 99178cc commit 5041a0d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/codecov.yml
@@ -1,19 +1,28 @@
name: Codecov
on: [push, pull_request]

on:
workflow_dispatch:
push:
pull_request:

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: mvn install -Pjre11 -DskipTests=true -Dmaven.javadoc.skip=true -B -V

- name: Run tests
env:
connectionString: ${{ secrets.MSSQL_JDBC_TEST_CONNECTION_PROPERTIES }}
run: mvn -Pjre11 -Dmssql_jdbc_test_connection_properties=$connectionString -DexcludedGroups=xAzureSQLDB,NTLM,xUnix,MSI,reqExternalSetup,clientCertAuth,fedAuth,kerberos,DTC -B test

- name: Code coverage report
run: mvn -Pjre11 jacoco:report

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
env:
Expand Down

0 comments on commit 5041a0d

Please sign in to comment.