Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf11cbe

Browse files
committed
Update build.yml
1 parent e688066 commit cf11cbe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,22 @@ jobs:
5656
- name: Configure dependencies
5757
run: |
5858
sudo apt install bubblewrap
59+
pip install --user --upgrade pip
5960
pip install --user pipx
6061
pipx ensurepath
6162
pipx install poetry
6263
pipx install poethepoet
64+
poetry config virtualenvs.in-project true
6365
poetry install --with dev
6466
6567
- name: Run tests
6668
run: |
67-
bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} poetry run poe test
69+
bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} bash poetry run poe test
6870
6971
- name: Run lint
7072
run: |
7173
poetry run poe lint:install
72-
bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} poetry run poe lint
74+
bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} bash poetry run poe lint
7375
7476
- if: ${{ matrix.python-version == '3.10' }}
7577
name: Upload coverage

0 commit comments

Comments
 (0)