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
8b1e652f
Commit
8b1e652f
authored
Aug 24, 2023
by
baberabb
Browse files
added multiple python check
parent
a005aeba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
.github/workflows/unit_tests.yml
.github/workflows/unit_tests.yml
+9
-4
No files found.
.github/workflows/unit_tests.yml
View file @
8b1e652f
...
@@ -26,7 +26,8 @@ jobs:
...
@@ -26,7 +26,8 @@ jobs:
uses
:
actions/setup-python@v4
uses
:
actions/setup-python@v4
with
:
with
:
python-version
:
3.9
python-version
:
3.9
cache
:
'
pip'
cache
:
pip
cache-dependency-path
:
setup.py
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
-
name
:
Pre-Commit
-
name
:
Pre-Commit
...
@@ -46,16 +47,20 @@ jobs:
...
@@ -46,16 +47,20 @@ jobs:
testcpu
:
testcpu
:
name
:
CPU Tests
name
:
CPU Tests
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
[
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
]
timeout-minutes
:
20
timeout-minutes
:
20
steps
:
steps
:
-
name
:
Checkout Code
-
name
:
Checkout Code
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Set up Python
3.9
-
name
:
Set up Python
${{ matrix.python-version }}
uses
:
actions/setup-python@v4
uses
:
actions/setup-python@v4
with
:
with
:
python-version
:
3.9
python-version
:
${{ matrix.python-version }}
cache
:
'
pip'
cache
:
pip
cache-dependency-path
:
setup.py
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
python -m pip install --upgrade pip
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