summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-08-07 09:47:35 +0300
committerYuval Adam <_@yuv.al>2022-08-07 09:47:35 +0300
commitd7e5842abb7ba0699ffe94bb6883fab3cfb77c11 (patch)
treee84149bed5f867c70484b1cf0b9f1a2d73f2a287 /.github/workflows
parent8469154c82a2a8892293851519a2f7ceb4a5969d (diff)
Revert "Another attempt at fixing CI"
This reverts commit 8469154c82a2a8892293851519a2f7ceb4a5969d.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b9a4187..45e601b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,13 +17,14 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install pip and testing tools
run: |
- python -m pip install black pytest pylint
+ python -m pip install --upgrade pipenv
+ pipenv install -d
- name: Check formatting with black
run: |
- black --check alarmpy
+ pipenv run formatcheck
- name: Run pylint
run: |
- pylint -j 0 -d R,C alarmpy
+ pipenv run lint
- name: Test with pytest
run: |
- pytest
+ pipenv run test