mirror of
https://github.com/LizardByte/GameDB.git
synced 2026-11-10 14:34:41 +09:00
28 lines
632 B
YAML
28 lines
632 B
YAML
name: Python Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master, nightly]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
flake8:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v3 # https://github.com/actions/setup-python
|
|
with:
|
|
python-version: '3.10'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip setuptools
|
|
python -m pip install -r requirements-dev.txt
|
|
|
|
- name: Test with flake8
|
|
run: |
|
|
python -m flake8 --verbose
|