koji build: a command to build packages on koji #239
This file contains hidden or 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
name: Test build env | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
permissions: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: true # required for git lfs | |
- uses: ./.github/actions/uv-setup/ | |
- run: sudo apt update && sudo apt install -y --no-install-recommends python3-rpm | |
- name: Test | |
# use script to provide a tty (workaround of systematic "docker -t"?) | |
shell: 'script -q -e -c "bash {0}"' | |
run: | | |
./test/test.sh |