summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
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