diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 00000000..c5428ce3 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,20 @@ +name: Unit Tests + +on: + push: + pull_request: + branches: + - 6.x + workflow_dispatch: + +permissions: + contents: read + +jobs: + tests: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/6.x' }} + uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x + with: + timeout-minutes: 60 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a50fc739..00000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -import: -- logstash-plugins/.ci:travis/travis.yml@1.x \ No newline at end of file diff --git a/README.md b/README.md index 6c74816b..442bf219 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Logstash Plugin -[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-beats.svg)](https://travis-ci.com/logstash-plugins/logstash-input-beats) +[![Unit Tests](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml/badge.svg?branch=6.x)](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml) This is a plugin for [Logstash](https://github.com/elastic/logstash).