Skip to content

Commit

Permalink
Move runpipe test to github actions
Browse files Browse the repository at this point in the history
The logs can already be downloaded via the GitHub interface, so that
part has been removed.
  • Loading branch information
vmcj committed Feb 18, 2024
1 parent 2a947c1 commit a7591b3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 23 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/runpipe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run runpipe tests
on:
push:
branches-ignore:
- main
- '[0-9]+.[0-9]+'
- gh-readonly-queue/main/*
- gh-readonly-queue/main/[0-9]+.[0-9]+
pull_request:
branches:
- main
- '[0-9]+.[0-9]+'

jobs:
runpipe:
runs-on: ubuntu-latest
container:
image: domjudge/gitlabci:2.1
steps:
- uses: actions/checkout@v3
- name: Create the configure file
run: make configure
- name: Do the default configure
run: ./configure --with-baseurl='http://localhost/domjudge/' --with-domjudge-user=domjudge --with-judgehost_chrootdir=${DIR}/chroot/domjudge
- name: Prepare judgehost files
run: make judgehost
- name: Run the actual runpipe tests
working-directory: judge/runpipe_test
run: make test

10 changes: 0 additions & 10 deletions gitlab/ci/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@
junit:
- unit-tests.xml

run runpipe tests:
extends: [.normal_job]
stage: unit
script:
- ./gitlab/runpipe-tests.sh
artifacts:
when: always
paths:
- gitlabartifacts

run unit tests:
only:
- main
Expand Down
13 changes: 0 additions & 13 deletions gitlab/runpipe-tests.sh

This file was deleted.

0 comments on commit a7591b3

Please sign in to comment.