Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move runpipe test to github actions #2336

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
meisterT marked this conversation as resolved.
Show resolved Hide resolved
- '[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.

Loading