File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Unit Tests
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ schedule :
9+ # Daily run that fans out across every active branch via the matrix
10+ # job below. GitHub only fires `schedule:` from the workflow file on
11+ # the default branch (main); copies of this file on
12+ # non-default branches keep the block for symmetry but it is dormant
13+ # there.
14+ - cron : ' 0 8 * * *'
15+ workflow_dispatch :
16+
17+ jobs :
18+ tests :
19+ if : github.event_name != 'schedule'
20+ uses : logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
21+ # Forward org/repo secrets (e.g. SLACK_BOT_TOKEN used by the reusable's
22+ # failure-notification step). The reusable does not declare a
23+ # workflow_call.secrets block, so `inherit` is required.
24+ secrets : inherit
25+ concurrency :
26+ group : ${{ github.workflow }}-${{ github.ref }}
27+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
28+ with :
29+ timeout-minutes : 60
30+
31+ scheduled :
32+ if : github.event_name == 'schedule'
33+ strategy :
34+ fail-fast : false
35+ matrix :
36+ branch : [main]
37+ uses : logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
38+ secrets : inherit
39+ with :
40+ ref : ${{ matrix.branch }}
41+ timeout-minutes : 60
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11# Logstash Plugin
22
3- [ ![ Travis Build Status ] ( https://travis-ci .com/logstash-plugins/logstash-codec-netflow. svg )] ( https://travis-ci .com/logstash-plugins/logstash-codec-netflow )
3+ [ ![ Unit Tests ] ( https://github .com/logstash-plugins/logstash-codec-netflow/actions/workflows/unit-tests.yml/badge. svg?branch=main )] ( https://github .com/logstash-plugins/logstash-codec-netflow/actions/workflows/unit-tests.yml )
44
55This is a plugin for [ Logstash] ( https://github.com/elastic/logstash ) .
66
You can’t perform that action at this time.
0 commit comments