Skip to content

Commit ee1e641

Browse files
committed
test
1 parent 72622a9 commit ee1e641

File tree

1 file changed

+13
-27
lines changed

1 file changed

+13
-27
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,34 +20,16 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: List .github directory
24-
run: |
25-
chmod +x $SCRIPT_FOLDER/*.sh
26-
echo "Listing .github directory:"
27-
ls -la ./.github/scripts
28-
29-
- name: Check Script Path
30-
run: |
31-
TEST_SCRIPT=$SCRIPT_FOLDER/run_test.sh
32-
echo "TEST_SCRIPT is set to: $TEST_SCRIPT"
33-
if [ -f "$TEST_SCRIPT" ]; then
34-
echo "Script exists and is executable."
35-
ls -l "$TEST_SCRIPT"
36-
else
37-
echo "Script does NOT exist at $TEST_SCRIPT"
38-
# show cwd
39-
echo "Current working directory:"
40-
pwd
41-
# list files in cwd
42-
echo "Files in current directory:"
43-
ls -la
44-
echo "Files in .github directory:"
45-
ls -la ./.github
46-
echo "Files in .github/scripts directory:"
47-
ls -la ./.github/scripts
48-
exit 1
49-
fi
23+
- name: Install poetry
24+
run: pip install poetry==1.8.4
5025

26+
- uses: actions/setup-python@v5
27+
with:
28+
python-version: |
29+
3.10
30+
3.11
31+
cache: 'poetry'
32+
5133
- name: Install poetry
5234
run: pip install poetry==1.8.4
5335

@@ -66,6 +48,10 @@ jobs:
6648
aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID
6749
aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY
6850
51+
- name: Chmod .github directory
52+
run: |
53+
chmod +x $SCRIPT_FOLDER/*.sh
54+
6955
- name: Run unittest with filenameprocessor-coverage
7056
working-directory: filenameprocessor
7157
id: filenameprocessor

0 commit comments

Comments
 (0)