Commit f744bfad authored by baberabb's avatar baberabb
Browse files

test

parent 07e63886
...@@ -55,13 +55,14 @@ jobs: ...@@ -55,13 +55,14 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -e '.[dev]' --extra-index-url https://download.pytorch.org/whl/cpu pip install -e '.[dev]' --extra-index-url https://download.pytorch.org/whl/cpu
- name: Test with pytest - name: Test with pytest
id: test_pytest
# if new tasks are added, run tests on them # if new tasks are added, run tests on them
if: steps.changed-tasks.outputs.tasks_any_modified == 'true' if: steps.changed-tasks.outputs.tasks_any_modified == 'true'
run: python -m pytest tests/test_tasks.py -s -vv run: python -m pytest tests/test_tasks.py -s -vv
# Edit task table if new tasks added # Edit task table if new tasks added
# copied from gpt-neox repo # copied from gpt-neox repo
- name: Update Docs - name: Update Docs
if: steps.changed-tasks.outputs.tasks_any_modified == 'true' && steps['Test with pytest'].outcome == 'success' if: steps.changed-tasks.outputs.tasks_any_modified == 'true' && steps.test_pytest.outcome == 'success'
run: | run: |
python scripts/make_table_tasks.py python scripts/make_table_tasks.py
git config user.name github-actions git config user.name github-actions
......
group: group:
- ai2_arc - ai2_arc
task: arc_easy task: arc_easy
# test
dataset_path: ai2_arc dataset_path: ai2_arc
dataset_name: ARC-Easy dataset_name: ARC-Easy
output_type: multiple_choice output_type: multiple_choice
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment