update #74
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |