Skip to content

Commit

Permalink
fix code.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Apr 26, 2022
1 parent 658a4e1 commit 2311ad9
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,16 @@ jobs:

steps:
- name: prerequisites
steps:
apt-get update
apt-get install xvfb
run: |
sudo apt-get update
sudo apt-get -y install xvfb pipenv
- name: Setup repo and test
steps:
if [ ${{ matrix.pipenv }} == 'deploy' ] ; then edit='-e'; fi
pipenv install ${edit} --dev --${{ matrix.pipenv }}
xvfb pipenv run tests
env:
EDIT: "${{ matrix.pipenv == 'deploy' && '-e' || '' }}"
run: |
pipenv install $EDIT --dev --${{ matrix.pipenv }}
xvfb-run pipenv run tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit 2311ad9

Please sign in to comment.