Skip to content

Commit

Permalink
Update unit tests action base image
Browse files Browse the repository at this point in the history
Also fixes the golang version we want to use
(includes the z version)
  • Loading branch information
vkmc committed Aug 5, 2024
1 parent 3219d86 commit b3b69ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
ELASTIC_IMAGE: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
ELASTIC_PORT: "-p 9200:9200 -p 9300:9300"

TEST_IMAGE: registry.access.redhat.com/ubi8
TEST_IMAGE: registry.access.redhat.com/ubi9
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

on: [push, pull_request]
Expand Down
9 changes: 4 additions & 5 deletions ci/unit/run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/env bash
# CI script for CentOS8 job
# purpose: runt unit test suite and submit code coverage
# CI script for CentOS9 job
# purpose: run unit test suite and submit code coverage

set -ex

Expand All @@ -15,7 +15,6 @@ export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

go install golang.org/dl/go1.22@latest
go1.22 download
go1.22.0 download


go1.22 test -v -coverprofile=profile.cov ./...
go1.22.0 test -v -coverprofile=profile.cov ./...

0 comments on commit b3b69ac

Please sign in to comment.