-
Notifications
You must be signed in to change notification settings - Fork 104
33 lines (32 loc) · 1.04 KB
/
testpatterns.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: test logstash patterns
on: [push, pull_request]
jobs:
test_patterns:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: 3.6
steps:
- name: add logstash repo
uses: myci-actions/add-deb-repo@4
with:
repo: deb https://artifacts.elastic.co/packages/7.x/apt stable main
repo-name: elastic-7.x
keys: D27D666CD88E42B4
- name: install logstash
run: sudo apt-get install logstash
- name: add logstash to path
run: echo "/usr/share/logstash/bin" >> $GITHUB_PATH
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
git remote add hpcugent https://github.com/hpcugent/vsc-install.git
- name: run tests
run: tox -v -c tox.ini