Skip to content

Commit 09e26a6

Browse files
committed
...
1 parent a1f9092 commit 09e26a6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/scripts/run_tests_client.sh

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pip3 install -r requirements/requirements-$(lsb_release -cs).txt
1414

1515
cd $GITHUB_WORKSPACE/client # to install frontend dependencies
1616
npm install -d
17-
./node_modules/grunt/bin/grunt build_for_testing
17+
#./node_modules/grunt/bin/grunt build_for_testing
1818

1919
cd $GITHUB_WORKSPACE/backend && coverage run ./bin/globaleaks -z &
2020

@@ -24,7 +24,7 @@ sleep 5
2424

2525
# Running client tests locally
2626
echo "Running client tests locally collecting code coverage"
27-
cd $GITHUB_WORKSPACE/client && npm test
27+
#cd $GITHUB_WORKSPACE/client && npm test
2828
if [ $? -ne 0 ]; then
2929
client_test_failed=1
3030
fi
@@ -33,9 +33,10 @@ kill -15 $PID
3333

3434
sleep 10
3535

36-
sed -i 's|SF:dist/|SF:client/|g' $GITHUB_WORKSPACE/client/cypress/coverage/lcov.info
37-
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l TypeScript -r $GITHUB_WORKSPACE/client/cypress/coverage/lcov.info
36+
#sed -i 's|SF:dist/|SF:client/|g' $GITHUB_WORKSPACE/client/cypress/coverage/lcov.info
37+
#bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l TypeScript -r $GITHUB_WORKSPACE/client/cypress/coverage/lcov.info
3838

39+
ls $GITHUB_WORKSPACE/backend -al
3940
cd $GITHUB_WORKSPACE/backend && coverage lcov -o lcov.info
4041
sed -i 's|SF:globaleaks/|SF:backend/globaleaks/|g' $GITHUB_WORKSPACE/backend/lcov.info
4142
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l Python -r $GITHUB_WORKSPACE/backend/lcov.info

backend/.coveragerc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[run]
22
source = globaleaks
3-
omit = globaleaks/test
3+
omit = globaleaks/tests

0 commit comments

Comments
 (0)