Skip to content

Commit 72c1747

Browse files
authored
Merge pull request #28 from marselester/github-ci
Github CI
2 parents 0d6c3d9 + 903266e commit 72c1747

File tree

4 files changed

+33
-25
lines changed

4 files changed

+33
-25
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install flake8 pytest ujson simplejson django
25+
- name: Lint with flake8
26+
run: |
27+
flake8 . --count --show-source --max-complexity=10 --max-line-length=127 --statistics
28+
- name: Test with pytest
29+
run: |
30+
pytest -s tests.py

.travis.yml

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

README.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
==================
2-
JSON log formatter
3-
==================
4-
5-
.. image:: https://travis-ci.org/marselester/json-log-formatter.png
6-
:target: https://travis-ci.org/marselester/json-log-formatter
1+
====================
2+
JSON log formatter 🪵
3+
====================
74

85
The library helps you to store logs in JSON format. Why is it important?
96
Well, it facilitates integration with **Logstash**.

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@
2020
'Topic :: Software Development :: Libraries :: Python Modules'
2121
],
2222
)
23-

0 commit comments

Comments
 (0)