Skip to content

Commit

Permalink
actions: Address some of the TICS failures
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiubelu committed Jan 20, 2025
1 parent 90300ca commit 1a9267e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/nightly-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand All @@ -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

0 comments on commit 1a9267e

Please sign in to comment.