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
0a48d7c5
Unverified
Commit
0a48d7c5
authored
Jul 14, 2023
by
baberabb
Committed by
GitHub
Jul 14, 2023
Browse files
Update python-package.yml
pytest only on test_evaluator
parent
64c15e41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+6
-3
No files found.
.github/workflows/python-package.yml
View file @
0a48d7c5
...
@@ -15,7 +15,7 @@ jobs:
...
@@ -15,7 +15,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
python-version
:
[
"
3.9"
,
"
3.10"
,
"
3.11"
]
python-version
:
[
"
3.9"
]
steps
:
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/checkout@v3
...
@@ -26,7 +26,10 @@ jobs:
...
@@ -26,7 +26,10 @@ jobs:
-
name
:
Install dependencies
-
name
:
Install dependencies
run
:
|
run
:
|
python -m pip install --upgrade pip
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install flake8 pytest pytest-cov
pip install -e .[dev,multilingual]
# Install optional git dependencies
pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-
name
:
Lint with flake8
-
name
:
Lint with flake8
run
:
|
run
:
|
...
@@ -36,4 +39,4 @@ jobs:
...
@@ -36,4 +39,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
name
:
Test with pytest
-
name
:
Test with pytest
run
:
|
run
:
|
pytest
pytest
tests/test_evaluator.py
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