Skip to content

Consolidate resource-lix into datahub-gma (#446) #1

Consolidate resource-lix into datahub-gma (#446)

Consolidate resource-lix into datahub-gma (#446) #1

name: build & test
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '**.md'
release:
types: [published, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install lib
run: sudo apt-get install libncurses5
- name: Gradle build (and test)
run: ./gradlew build
- name: Upload artifact
if: always()
uses: actions/upload-artifact@v3
with:
name: test-reports
path: /home/runner/work/datahub-gma/datahub-gma/dao-impl/ebean-dao/build/reports/tests/test/**
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: linkedin/datahub-gma
- name: Slack failure notification
if: failure() && github.event_name == 'push'
uses: kpritam/slack-job-status-action@v1
with:
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel: github-activities