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 90fd55e commit 99178cc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/codecov.yml
@@ -1,4 +1,4 @@
name: Workflow for Codecov
name: Codecov
on: [push, pull_request]
jobs:
run:
Expand All @@ -8,14 +8,12 @@ jobs:
uses: actions/checkout@v4
- name: Install dependencies
run: mvn install -Pjre11 -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: check variables
run:
echo ${{ vars.MSSQL_JDBC_TEST_CONNECTION_PROPERTIES }}
echo ${{ secrets.MSSQL_JDBC_TEST_CONNECTION_PROPERTIES }}
- name: Run tests and collect coverage
- 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 99178cc

Please sign in to comment.