Skip to content

Commit 0e64557

Browse files
authored
run tests in debug mode (#22)
* add submodule * trying this * adsf * trying this * trying this * adsf * longshot * install for uer * trying this * cleaning up * increase time limit now * increase TL again * remove directories with tests * better method * trying this * debug output * force * add little comment --------- Co-authored-by: Luke Videckis <lukevideckis@gmail.com>
1 parent c09b666 commit 0e64557

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,21 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v3
3333
- uses: actions/setup-python@v4
34-
- name: install oj-verify
35-
run: pip3 install -U online-judge-verify-helper
3634
- name: Set up Rust (nightly)
3735
run: |
3836
rustup install nightly
3937
rustup override set nightly
4038
rustup component add --toolchain nightly rustfmt clippy
41-
- name: use oj-verify
39+
- name: install oj-verify submodule
40+
run: |
41+
git submodule init
42+
git submodule update
43+
cd verification-helper
44+
pip install .
45+
cd ..
46+
# clear submodule afterwards to not run tests in verification-helper
47+
git submodule deinit --all -f
48+
- name: run tests
4249
# regarging `--tle 2`: the oj-verify tool only allows testing in release mode
4350
#
4451
# regarding `--jobs 4`: github CI runs with 4 cores
@@ -53,4 +60,4 @@ jobs:
5360
#
5461
# since all tests are rerun on every commit anyways, there's no need for
5562
# the .verify-helper/timestamps.remote.json file
56-
run: oj-verify all --tle 2 --jobs 4 --timeout 21600
63+
run: oj-verify all --tle 10 --jobs 4 --timeout 21600

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "verification-helper"]
2+
path = verification-helper
3+
url = https://github.com/programming-team-code/verification-helper.git

verification-helper

Submodule verification-helper added at f99fc89

0 commit comments

Comments
 (0)