Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heroku-buildpack-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heroku-buildpack-python
Commits
b85fe361
Unverified
Commit
b85fe361
authored
6 years ago
by
Casey
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #783 from heroku/document-tests
Document tests
parents
41e0f642
b024e644
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
README.md
+22
-0
22 additions, 0 deletions
README.md
with
23 additions
and
1 deletion
Makefile
+
1
−
1
View file @
b85fe361
# These targets are not files
# These targets are not files
.PHONY
:
tests
.PHONY
:
tests
test
:
test-heroku-16
test
:
test-heroku-18
test-heroku-16
check
:
check
:
@
shellcheck
-x
bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings
@
shellcheck
-x
bin/compile bin/detect bin/release bin/test-compile bin/utils bin/warnings
...
...
This diff is collapsed.
Click to expand it.
README.md
+
22
−
0
View file @
b85fe361
...
@@ -61,3 +61,25 @@ Runtime options include:
...
@@ -61,3 +61,25 @@ Runtime options include:
-
`python-3.7.0`
-
`python-3.7.0`
-
`python-3.6.6`
-
`python-3.6.6`
-
`python-2.7.15`
-
`python-2.7.15`
## Tests
The buildpack tests use
[
Docker
](
https://www.docker.com/
)
to simulate
Heroku's
[
stack images.
](
https://devcenter.heroku.com/articles/stack
)
To run the test suite:
```
make test
```
Or to test in a particular stack:
```
make test-heroku-18
make test-heroku-16
```
The tests are run via the vendored
[
shunit2
](
https://github.com/kward/shunit2
)
test framework.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment