Skip to content

Commit 74d0075

Browse files
committed
Test install deps
1 parent 8aeefa5 commit 74d0075

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
sonar-platform: none
4848
artifactory-reader-role: private-reader
4949
artifactory-deployer-role: qa-deployer
50+
- run: poetry install
5051
- run: |
51-
poetry install --only dev
5252
poetry run black src/ tests/ --check
5353
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d src/
5454
poetry run licenseheaders -t license_header.tmpl -o "SonarSource SA" -y 2011-2024 -n "Sonar Scanner Python" -E .py -d tests/
@@ -66,6 +66,7 @@ jobs:
6666
with:
6767
install_args: "poetry@2.2.1"
6868
- run: mise use -g poetry@2.2.1
69+
- run: poetry install
6970
- run: |
7071
poetry run python tools/generate_cli_documentation.py
7172
git diff --exit-code CLI_ARGS.md
@@ -88,6 +89,7 @@ jobs:
8889
sonar-platform: next
8990
artifactory-reader-role: private-reader
9091
artifactory-deployer-role: qa-deployer
92+
- run: poetry install
9193
- run: |
9294
poetry run pytest --cov-report=xml:coverage.xml --cov-config=pyproject.toml --cov=src --cov-branch tests
9395
poetry run mypy src/ > mypy-report.txt || true
@@ -113,6 +115,7 @@ jobs:
113115
python-version: ${{ matrix.python-version }}
114116
artifactory-reader-role: private-reader
115117
artifactory-deployer-role: qa-deployer
118+
- run: poetry install
116119
- run: |
117120
poetry run pytest tests/
118121
@@ -132,6 +135,7 @@ jobs:
132135
sonar-platform: none
133136
artifactory-reader-role: private-reader
134137
artifactory-deployer-role: qa-deployer
138+
- run: poetry install
135139
- run: |
136140
poetry run pytest tests/
137141

0 commit comments

Comments
 (0)