Skip to content

Commit c02afc3

Browse files
committed
caches
1 parent 7a36ac3 commit c02afc3

1 file changed

Lines changed: 44 additions & 20 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,45 @@ jobs:
4242
run: |
4343
chmod +x $SCRIPT_FOLDER/*.sh
4444
45-
# - name: Cache Poetry virtualenv (filenameprocessor)
46-
# uses: actions/cache@v4
47-
# with:
48-
# path: ./filenameprocessor/.venv
49-
# key: ${{ runner.os }}-venv-filenameprocessor-${{ hashFiles('filenameprocessor/poetry.lock') }}
50-
# restore-keys: |
51-
# ${{ runner.os }}-venv-filenameprocessor-
52-
53-
- name: Cache Poetry virtualenv (shared)
45+
- name: Cache Poetry virtualenv (filenameprocessor)
5446
uses: actions/cache@v4
5547
with:
56-
path: ./.venv
57-
key: ${{ runner.os }}-venv-shared-${{ hashFiles('poetry.lock') }}
48+
path: ./filenameprocessor/.venv
49+
key: ${{ runner.os }}-venv-filenameprocessor-${{ hashFiles('filenameprocessor/poetry.lock') }}
5850
restore-keys: |
59-
${{ runner.os }}-venv-shared-
51+
${{ runner.os }}-venv-filenameprocessor-
52+
53+
- name: Cache Poetry virtualenv (recordprocessor)
54+
uses: actions/cache@v4
55+
with:
56+
path: ./recordprocessor/.venv
57+
key: ${{ runner.os }}-venv-recordprocessor-${{ hashFiles('recordprocessor/poetry.lock') }}
58+
restore-keys: |
59+
${{ runner.os }}-venv-recordprocessor-
60+
61+
- name: Cache Poetry virtualenv (recordforwarder)
62+
uses: actions/cache@v4
63+
with:
64+
path: ./backend/.venv
65+
key: ${{ runner.os }}-venv-backend-${{ hashFiles('backend/poetry.lock') }}
66+
restore-keys: |
67+
${{ runner.os }}-venv-backend-
68+
69+
- name: Cache Poetry virtualenv (ack_backend)
70+
uses: actions/cache@v4
71+
with:
72+
path: ./ack_backend/.venv
73+
key: ${{ runner.os }}-venv-ack_backend-${{ hashFiles('ack_backend/poetry.lock') }}
74+
restore-keys: |
75+
${{ runner.os }}-venv-ack_backend-
76+
77+
- name: Cache Poetry virtualenv (delta_backend)
78+
uses: actions/cache@v4
79+
with:
80+
path: ./delta_backend/.venv
81+
key: ${{ runner.os }}-venv-delta_backend-${{ hashFiles('delta_backend/poetry.lock') }}
82+
restore-keys: |
83+
${{ runner.os }}-venv-delta_backend-
6084
6185
- name: Run unittest with filenameprocessor-coverage (S)
6286
working-directory: filenameprocessor
@@ -85,14 +109,14 @@ jobs:
85109
"recordforwarder" \
86110
"recordforwarder-coverage.xml"
87111
88-
# - name: Run unittest with coverage-ack-lambda
89-
# working-directory: ack_backend
90-
# id: acklambda
91-
# continue-on-error: true
92-
# run: |
93-
# $TEST_SCRIPT 3.10 \
94-
# "ack-lambda" \
95-
# "ack-lambda.xml"
112+
- name: Run unittest with coverage-ack-lambda
113+
working-directory: ack_backend
114+
id: acklambda
115+
continue-on-error: true
116+
run: |
117+
$TEST_SCRIPT 3.10 \
118+
"ack-lambda" \
119+
"ack-lambda.xml"
96120
97121
- name: Run unittest with coverage-delta
98122
working-directory: delta_backend

0 commit comments

Comments
 (0)