-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 900 Bytes
/
ubuntu.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: LinuxCI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Display Python Version
run: python3 --version
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip tox torrentfile
pip3 install -r requirements.txt
sudo apt-get update
sudo apt-get install libglx0 libglx-mesa0 libegl-mesa0 libegl1 -y
- name: Run Tests
run: |
tox -e pylint
tox -e pycodestyle
tox -e security
tox -e format
tox -e pyroma
tox -e twinecheck
tox -e flake8