mirror of
https://github.com/MattKeeley/Spoofy.git
synced 2026-02-03 05:23:24 +00:00
add ruff
This commit is contained in:
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@@ -6,12 +6,20 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
- name: Set up Python
|
||||||
with:
|
uses: actions/setup-python@v2
|
||||||
python-version: '3.x'
|
with:
|
||||||
- name: Install dependencies
|
python-version: "3.x"
|
||||||
run: pip install -r requirements.txt
|
|
||||||
- name: Run tests
|
- name: Install dependencies
|
||||||
run: python3 test.py
|
run: |
|
||||||
|
pip install -r requirements.txt
|
||||||
|
pip install ruff
|
||||||
|
|
||||||
|
- name: Run Ruff
|
||||||
|
run: ruff check .
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: python3 test.py
|
||||||
|
|||||||
Reference in New Issue
Block a user