-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actions: Address some of the TICS failures
- Loading branch information
1 parent
90300ca
commit 1a9267e
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,11 @@ jobs: | |
# Install python dependencies | ||
pip install -r tests/integration/requirements-test.txt | ||
pip install -r tests/integration/requirements-dev.txt | ||
# Needed by pylint (TICSQServer), used in build-scripts, k8s/scripts/cis | ||
pip install requests jinja2 | ||
# Integration tests are importing a local test_util module. Needed for pylint. | ||
export PYTHONPATH="$(pwd)/tests/integration/tests" | ||
cd src/k8s | ||
|
@@ -89,8 +94,8 @@ jobs: | |
sudo make go.unit | ||
go install github.com/boumenot/gocover-cobertura@latest | ||
gocover-cobertura < coverage.txt > coverage.xml | ||
mkdir .coverage | ||
mv ./coverage.xml ./.coverage/ | ||
mkdir -p src/k8s/.coverage | ||
mv ./coverage.xml src/k8s/.coverage/ | ||
# Install the TICS and staticcheck | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
@@ -104,4 +109,4 @@ jobs: | |
sudo make clean | ||
go build -a ./... | ||
TICSQServer -project k8s-snap -tmpdir /tmp/tics -branchdir $HOME/work/k8s-snap/k8s-snap/ | ||
TICSQServer -project k8s-snap -tmpdir /tmp/tics -branchdir $HOME/work/k8s-snap/k8s-snap/src/k8s |