Skip to content

Commit

Permalink
Merge pull request #50 from cnescatlab/fix-test-ci
Browse files Browse the repository at this point in the history
Fix CI and update tests according to previous commits
  • Loading branch information
louisjdmartin authored Feb 19, 2024
2 parents 3e3526c + cfc1474 commit 3b29a0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,4 @@ jobs:
echo -e "Results of the CI pipeline\n" > tests_logs.txt
cd tests/
python3 -m pip install -r requirements.txt
python3 -m pytest -v |& tee -a ../tests_logs.txt
# Have the job fail if at least one test failed
- name: Check all tests passed
run: |
cat tests_logs.txt
grep -v -q "FAILED" tests_logs.txt
python3 -m pytest -v
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This image is based on a LTS version of SonarQube
FROM sonarqube:9.9.3-community
FROM sonarqube:9.9.4-community

LABEL maintainer="CATLab"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cnes_sonarqube.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_check_plugins(self):
("Kotlin Code Quality and Security","2.12.0 (build 1956)"),
("PHP Code Quality and Security","3.27.1 (build 9352)"),
("PMD", "3.4.0"),
("Python Code Quality and Security","3.24 (build 10784)"),
("Python Code Quality and Security","3.24.1 (build 11916)"),
("Ruby Code Quality and Security","1.11.0 (build 3905)"),
("Scala Code Quality and Security","1.11.0 (build 3905)"),
("ShellCheck Analyzer","2.5.0"),
Expand Down

0 comments on commit 3b29a0f

Please sign in to comment.