docker-based linters

This commit is contained in:
Devaev Maxim
2020-05-12 09:26:24 +03:00
parent 972c288df3
commit f1cdfd4223
6 changed files with 68 additions and 34 deletions

View File

@@ -1,27 +0,0 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: deps
run: |
sudo dpkg -R python3
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y --no-install-recommends python3.8 python3.8-distutils build-essential libevent-dev libjpeg-turbo8-dev uuid-dev libbsd-dev
sudo python3.8 get-pip.py
sudo python3.8 -m pip install tox
- name: make
run: make
- name: make tox
run: make tox

20
.github/workflows/dockerimage.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Building linters image ...
run: make linters
- name: Running linters ...
run: make tox