File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/
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
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
You can’t perform that action at this time.
0 commit comments