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

Allow archives in output-only #395

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion oioioi/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@
# There should be an entry for every language supported with key being the same
# as in SUBMITTABLE_LANGUAGES.
SUBMITTABLE_EXTENSIONS = {'C': ['c'], 'C++': ['cpp', 'cc'], 'Pascal': ['pas'],
'Java': ['java'], 'Python': ['py'], 'Output-only': ['txt', 'out']}
'Java': ['java'], 'Python': ['py'],
'Output-only': ['txt', 'out', 'zip', 'tar', 'tar.gz',
'tar.bz2', 'tgz', 'tz2']}

# This setting specifies which compilers are available in sioworkers.
# By default that means ones defined here:
Expand Down
1 change: 1 addition & 0 deletions oioioi/programs/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ def run_tests(env, kind=None, **kwargs):
if env.get('interactor_file'):
job['interactor_file'] = env['interactor_file']
job['untrusted_checker'] = env['untrusted_checker']
job['problem_short_name'] = env['problem_short_name']
jobs[test_name] = job
extra_args = env.get('sioworkers_extra_args', {}).get(kind, {})
env['workers_jobs'] = jobs
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These dependencies need to be installed from external sources,
# therefore they must be listed here. Moreover, they cannot be listed in
# setup.py, as pip is not able to install them.
http://github.com/sio2project/sioworkers/archive/refs/tags/v1.5.2.tar.gz
http://github.com/sio2project/sioworkers/archive/refs/tags/v1.5.3.tar.gz

-e .
Loading