Skip to content

Commit 1ec30cc

Browse files
authored
Migrate CI from Travis to GitHub Actions
- Add .github/workflows/unit-tests.yml calling shared reusable workflow - Replace Travis badge in README.md with GitHub Actions badge - Delete .travis.yml
1 parent fad5594 commit 1ec30cc

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Unit Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
tests:
12+
uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
16+
with:
17+
timeout-minutes: 60

.travis.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Logstash Plugin
22

3-
[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-beats.svg)](https://travis-ci.com/logstash-plugins/logstash-input-beats)
3+
[![Unit Tests](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml)
44

55
This is a plugin for [Logstash](https://github.com/elastic/logstash).
66

0 commit comments

Comments
 (0)