Skip to content

Commit 1fefd9d

Browse files
committed
chore: install library when testing it
1 parent 1fe993e commit 1fefd9d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
run: |
2323
pip install poetry
2424
poetry --version
25-
- name: Install dependencies
25+
- name: Install dependencies and library
2626
working-directory: ${{ matrix.lib }}
27-
run: poetry install --no-root
27+
run: poetry install
2828
- name: Check format
2929
working-directory: ${{ matrix.lib }}
3030
run: poetry run black --check .
@@ -48,9 +48,9 @@ jobs:
4848
run: |
4949
pip install poetry
5050
poetry --version
51-
- name: Install dependencies
51+
- name: Install dependencies and library
5252
working-directory: ${{ matrix.lib }}
53-
run: poetry install --no-root
53+
run: poetry install
5454
- name: Check typing
5555
working-directory: ${{ matrix.lib }}
5656
run: poetry run mypy --install-types --non-interactive --strict $(echo "${{ matrix.lib }}" | tr "-" "_")
@@ -74,9 +74,9 @@ jobs:
7474
run: |
7575
pip install poetry
7676
poetry --version
77-
- name: Install dependencies
77+
- name: Install dependencies and library
7878
working-directory: ${{ matrix.lib }}
79-
run: poetry install --no-root
79+
run: poetry install
8080
- name: Check security
8181
working-directory: ${{ matrix.lib }}
8282
run: poetry run bandit -sB105 -r .
@@ -100,9 +100,9 @@ jobs:
100100
run: |
101101
pip install poetry
102102
poetry --version
103-
- name: Install dependencies
103+
- name: Install dependencies and library
104104
working-directory: ${{ matrix.lib }}
105-
run: poetry install --no-root
105+
run: poetry install
106106
- name: Run tests
107107
working-directory: ${{ matrix.lib }}
108108
run: poetry run python -m unittest discover -s tests -v

0 commit comments

Comments
 (0)