Skip to content

Commit

Permalink
Use pipenv in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Oct 7, 2020
1 parent 897dc08 commit 2d14e18
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install pipenv
run: |
python -m pip install --upgrade pipenv
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pipenv install --dev
- name: Lint with pylint
run: |
pylint axltempl
pipenv run pylint axltempl
- name: Test with pytest
run: |
pytest
pipenv run pytest

0 comments on commit 2d14e18

Please sign in to comment.