File tree Expand file tree Collapse file tree 5 files changed +9
-13
lines changed Expand file tree Collapse file tree 5 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
strategy :
8
8
matrix :
9
- python-version : [2.7, 3.6]
9
+ python-version : 3.6
10
10
steps :
11
11
- name : add logstash repo
12
12
uses : myci-actions/add-deb-repo@4
@@ -19,14 +19,15 @@ jobs:
19
19
- name : add logstash to path
20
20
run : echo "/usr/share/logstash/bin" >> $GITHUB_PATH
21
21
- name : Checkout code
22
- uses : actions/checkout@v2
22
+ uses : actions/checkout@v3
23
23
- name : Set up Python ${{ matrix.python-version }}
24
- uses : actions/setup-python@v2
24
+ uses : actions/setup-python@v4
25
25
with :
26
26
python-version : ${{ matrix.python-version }}
27
27
- name : Install dependencies
28
28
run : |
29
29
python -m pip install --upgrade pip
30
- pip install tox tox-gh-actions
30
+ pip install tox
31
+ git remote add hpcugent https://github.com/hpcugent/vsc-install.git
31
32
- name : run tests
32
33
run : tox -v -c tox.ini
Original file line number Diff line number Diff line change 16
16
}
17
17
18
18
stage(' test' ) {
19
- sh ' python2.7 -V'
20
19
sh ' pip3 install --ignore-installed --prefix $PWD/.vsc-tox tox'
21
20
sh ' export PATH=$PWD/.vsc-tox/bin:$PATH && export PYTHONPATH=$PWD/.vsc-tox/lib/python$(python3 -c "import sys; print(\\ "%s.%s\\ " % sys.version_info[:2])")/site-packages:$PYTHONPATH && tox -v -c tox.ini'
22
21
sh ' rm -r $PWD/.vsc-tox'
Original file line number Diff line number Diff line change 32
32
import glob
33
33
34
34
setup (name = "logstash-patterns" ,
35
- version = "1.1.12 " ,
35
+ version = "1.1.13 " ,
36
36
description = "Grok patterns for logstash" ,
37
37
long_description = """Grok patterns for parsing log messages with logstash.
38
38
Original file line number Diff line number Diff line change 3
3
# DO NOT EDIT MANUALLY
4
4
5
5
[tox]
6
- envlist = py27, py36
6
+ envlist = py36
7
7
skipsdist = true
8
8
9
- [gh-actions]
10
- python =
11
- 2.7: py27
12
- 3.6: py36
13
-
14
9
[testenv]
15
10
commands_pre =
16
11
pip install ' setuptools<42.0'
Original file line number Diff line number Diff line change 1
1
[vsc-ci]
2
2
pip3_install_tox =1
3
- py3_tests_must_pass =1
3
+ py3_tests_must_pass =1
4
+ py3_only =1
You can’t perform that action at this time.
0 commit comments