Skip to content

Commit bdbc7f1

Browse files
committed
Update sonarqube.yml
1 parent 227d40c commit bdbc7f1

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/sonarqube.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,10 @@ jobs:
3131
with:
3232
python-version: '3.12'
3333

34-
- name: Restore SysIDE license file
35-
run: |
36-
if [ -n "$SYSIDE_LICENSE_CONTENT_B64" ]; then
37-
echo "SysIDE license content found, restoring license file..."
38-
echo "$SYSIDE_LICENSE_CONTENT_B64" | base64 -d > automator-license.lic
39-
ls -l automator-license.lic
40-
echo "SysIDE license key found, attempting to set up license..."
41-
python -c "
42-
try:
43-
import syside
44-
print(syside.__version__)
45-
except ImportError:
46-
print('syside_license not available, tests will use mocks')
47-
except Exception as e:
48-
print(f'Failed to activate SysIDE license: {e}, tests will use mocks')
49-
" || echo "License setup failed, tests will use mocks"
50-
else
51-
echo "No SysIDE license content found, tests will use mocks if supported"
52-
fi
53-
env:
54-
SYSIDE_LICENSE_CONTENT_B64: ${{ secrets.SYSIDE_LICENSE_CONTENT_B64 }}
55-
5634
- name: Install dependencies
5735
run: |
5836
python -m pip install --upgrade pip
5937
pip install requests
60-
pip install git+https://github.com/Open-MBEE/sysmlv2-python-client.git@main
61-
pip install syside==0.8.5
6238
pip install pytest pytest-cov pytest-check coverage
6339
pip install -e .
6440
@@ -78,8 +54,6 @@ jobs:
7854
SONAR_SCANNER_SKIP_JRE_PROVISIONING: "true"
7955

8056
- name: Run tests with coverage
81-
env:
82-
SYSIDE_LICENSE_FILE: automator-license.lic
8357
run: |
8458
coverage run -m pytest
8559
coverage xml -o coverage.xml

0 commit comments

Comments
 (0)