koji: move run-koji-containers.sh to tools
Also install it is part of he tests subpackage. This a helper-tool, not golang code, so should not live in `internal`. We need access to this from the integration tests, so install it onto the tests system. Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
32f66bb539
commit
555934e303
6 changed files with 9 additions and 6 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -84,10 +84,10 @@ jobs:
|
|||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
sudo internal/upload/koji/run-koji-container.sh start
|
||||
sudo tools/run-koji-container.sh start
|
||||
koji --server=http://localhost:8080/kojihub --user kojiadmin --password kojipass --authtype=password make-task image
|
||||
env KRB5_CONFIG=../../../.github/krb5.conf go test -v -race -covermode atomic -coverprofile=coverage.txt -tags koji_test ./internal/upload/koji
|
||||
sudo internal/upload/koji/run-koji-container.sh stop
|
||||
sudo tools/run-koji-container.sh stop
|
||||
|
||||
- name: Send coverage to codecov.io
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue