Skip to content

Commit c4daa9d

Browse files
committed
Move runpipe test to github actions
The logs can already be downloaded via the GitHub interface, so that part has been removed.
1 parent f5da5f6 commit c4daa9d

File tree

3 files changed

+30
-23
lines changed

3 files changed

+30
-23
lines changed

.github/workflows/runpipe.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Run runpipe tests
2+
on:
3+
push:
4+
branches-ignore:
5+
- main
6+
- '[0-9]+.[0-9]+'
7+
- gh-readonly-queue/main/*
8+
- gh-readonly-queue/main/[0-9]+.[0-9]+
9+
pull_request:
10+
branches:
11+
- main
12+
- '[0-9]+.[0-9]+'
13+
14+
jobs:
15+
runpipe:
16+
runs-on: ubuntu-latest
17+
container:
18+
image: domjudge/gitlabci:2.1
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Create the configure file
22+
run: make configure
23+
- name: Do the default configure
24+
run: ./configure --with-baseurl='http://localhost/domjudge/' --with-domjudge-user=domjudge --with-judgehost_chrootdir=${DIR}/chroot/domjudge
25+
- name: Prepare judgehost files
26+
run: make judgehost
27+
- name: Run the actual runpipe tests
28+
working-directory: judge/runpipe_test
29+
run: make test
30+

gitlab/ci/unit.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@
2828
junit:
2929
- unit-tests.xml
3030

31-
run runpipe tests:
32-
extends: [.normal_job]
33-
stage: unit
34-
script:
35-
- ./gitlab/runpipe-tests.sh
36-
artifacts:
37-
when: always
38-
paths:
39-
- gitlabartifacts
40-
4131
run unit tests:
4232
only:
4333
- main

gitlab/runpipe-tests.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)