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
chenpangpang
transformers
Commits
e1638dce
Unverified
Commit
e1638dce
authored
Aug 07, 2020
by
Stas Bekman
Committed by
GitHub
Aug 07, 2020
Browse files
fix the slow tests doc (#6167)
remove unnecessary duplication wrt `RUN_SLOW=yes`
parent
7e9861f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
CONTRIBUTING.md
CONTRIBUTING.md
+1
-12
No files found.
CONTRIBUTING.md
View file @
e1638dce
...
...
@@ -238,18 +238,7 @@ and for the examples:
$
pip
install
-r
examples/requirements.txt
# only needed the first time
$
python
-m
pytest
-n
auto
--dist
=
loadfile
-s
-v
./examples/
```
and for the slow tests:
```
bash
RUN_SLOW
=
yes
python
-m
pytest
-n
auto
--dist
=
loadfile
-s
-v
./tests/
```
or
```
python
RUN_SLOW
=
yes
python
-
m
pytest
-
n
auto
--
dist
=
loadfile
-
s
-
v
.
/
tests
/
```
In fact, that's how
`make test`
and
`make test-examples`
are implemented!
In fact, that's how
`make test`
and
`make test-examples`
are implemented (sans the
`pip install`
line)!
You can specify a smaller set of tests in order to test only the feature
you're working on.
...
...
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