This commit is contained in:
+4
-12
@@ -13,26 +13,18 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt pytest
|
||||
run: python3 -m pip install -r requirements.txt pytest
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests -v
|
||||
run: python3 -m pytest tests -v
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
pip install flake8
|
||||
flake8 drb-edge-node/app --max-line-length=120
|
||||
python3 -m pip install flake8
|
||||
python3 -m flake8 drb-edge-node/app --max-line-length=120
|
||||
|
||||
Reference in New Issue
Block a user