Skip to content

Merge pull request #138 from schemacrawler/dependabot/maven/io.trino-… #212

Merge pull request #138 from schemacrawler/dependabot/maven/io.trino-…

Merge pull request #138 from schemacrawler/dependabot/maven/io.trino-… #212

name: Integration Tests
on:
workflow_dispatch:
push:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
build:
name: Integration Tests
runs-on: ubuntu-latest
steps:
# SETUP BUILD ENVIRONMENT
- id: prepare-maven-build
name: Prepare Maven build
uses: sualeh/[email protected]
with:
java-version: 8
# BUILD AND TEST
- id: build-test
name: Build and run database integration tests
env:
TZ: GMT
shell: bash
run: |
# Build
mvn \
--no-transfer-progress \
--batch-mode \
-Dtestcoverage \
clean install \
org.jacoco:jacoco-maven-plugin:0.8.11:report-aggregate
# GET TEST RESULTS
- id: publish-test-results
name: Upload results and coverage
if: contains(github.ref, 'main')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
# Upload results and coverage
bash <(curl -s https://codecov.io/bash) -t 9b176264-b1dd-412b-83f4-342720a3c7eb
- id: upload-coverage-test-results
name: Upload coverage test results
uses: actions/upload-artifact@v4
with:
name: coverage-test-results
path: ./schemacrawler/target/site/jacoco-aggregate