Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
b9df9fb4
Commit
b9df9fb4
authored
Aug 17, 2023
by
baberabb
Browse files
added pip cache to CI
parent
c2e76e79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
.github/workflows/new_tasks.yml
.github/workflows/new_tasks.yml
+1
-0
.github/workflows/unit_tests.yml
.github/workflows/unit_tests.yml
+2
-0
No files found.
.github/workflows/new_tasks.yml
View file @
b9df9fb4
...
...
@@ -50,6 +50,7 @@ jobs:
uses
:
actions/setup-python@v4
with
:
python-version
:
3.9
cache
:
'
pip'
-
name
:
Install dependencies
if
:
steps.changed-tasks.outputs.tasks_any_modified == 'true' || steps.changed-tasks.outputs.api_any_modified == 'true'
run
:
|
...
...
.github/workflows/unit_tests.yml
View file @
b9df9fb4
...
...
@@ -26,6 +26,7 @@ jobs:
uses
:
actions/setup-python@v4
with
:
python-version
:
3.9
cache
:
'
pip'
-
name
:
Install dependencies
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
-
name
:
Lint with pylint
...
...
@@ -52,6 +53,7 @@ jobs:
uses
:
actions/setup-python@v4
with
:
python-version
:
3.9
cache
:
'
pip'
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment