Skip to content

Commit

Permalink
ci: sonarqube-github action depreciation fix, py version to 313 for t…
Browse files Browse the repository at this point in the history
…ox & workflow
  • Loading branch information
psadi committed Jan 6, 2025
1 parent 6dfd119 commit ace13a4
Show file tree
Hide file tree
Showing 4 changed files with 195 additions and 203 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
language: ["python"]
steps:
Expand Down Expand Up @@ -83,11 +83,11 @@ jobs:
cp config.ini ~/.config/bb
uv sync
uv tool install tox --with tox-uv
tox
tox r
- name: SonarCloud Scan
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: sonarsource/sonarcloud-github[email protected]
uses: sonarsource/sonarqube-scan[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down Expand Up @@ -184,4 +184,6 @@ jobs:
- name: Push Docker Image
if: ${{ github.event_name == 'release' }}
run: |
docker tag docker.io/psadi/bbcli:${{ github.event.release.tag_name }} docker.io/psadi/bbcli:latest
docker push docker.io/psadi/bbcli:${{ github.event.release.tag_name }}
docker push docker.io/psadi/bbcli:latest
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-e .
anyio==4.7.0
anyio==4.8.0
bandit==1.8.0
boolean-py==4.0
cachecontrol==0.14.1
cachetools==5.5.0
certifi==2024.12.14
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.4.0
click==8.1.7
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
coverage==7.6.9
coverage==7.6.10
cyclonedx-python-lib==7.6.2
defusedxml==0.7.1
distlib==0.3.9
Expand All @@ -20,7 +20,7 @@ h11==0.14.0
html5lib==1.1
httpcore==1.0.7
httpx==0.28.1
identify==2.6.3
identify==2.6.5
idna==3.10
iniconfig==2.0.0
license-expression==30.4.0
Expand All @@ -39,15 +39,15 @@ platformdirs==4.3.6
pluggy==1.5.0
pre-commit==4.0.1
py-serializable==1.1.2
pygments==2.18.0
pyparsing==3.2.0
pygments==2.19.0
pyparsing==3.2.1
pyproject-api==1.8.0
pytest==8.3.4
pytest-cov==6.0.0
pyyaml==6.0.2
requests==2.32.3
rich==13.9.4
ruff==0.8.3
ruff==0.8.6
shellingham==1.5.4
six==1.17.0
sniffio==1.3.1
Expand All @@ -59,7 +59,7 @@ tox==4.23.2
tox-pdm==0.7.2
typer==0.15.1
typing-extensions==4.12.2
urllib3==2.2.3
virtualenv==20.28.0
urllib3==2.3.0
virtualenv==20.28.1
webencodings==0.5.1
zipp==3.21.0
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
; ############################################################################

[tox]
envlist = py{312}
envlist = py{313}
skipsdist = True

[testenv]
Expand Down
Loading

0 comments on commit ace13a4

Please sign in to comment.