Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,16 @@ brew cask install vagrant
Now you can setup your virtual environment for testing:

```bash
virtualenv --python=$(which python2.7) .venv
source .venv/bin/activate
pip install --no-deps -r tests/test-requirements.txt
pip install -U pipenv
pipenv install --dev
```

Run the full lifecycle test on a given `<PLATFORM>`. Allowed values for
`<PLATFORM>` are `mojave`, `highsierra`, `sierra`, `elcapitan`, and `yosemite`.

```bash
source molecule/<PLATFORM>.sh
molecule test
pipenv run molecule test
```

Unset the `MOLECULE_` environment variables:
Expand All @@ -56,6 +55,12 @@ Unset the `MOLECULE_` environment variables:
source molecule/unset.sh
```

Check for security vulnerabilities in the dependencies:

```bash
pipenv check
```

What if I just have a question?
-------------------------------

Expand Down
16 changes: 16 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
ansible = "<2.8.0"
molecule = {extras = ["vagrant"],version = "<3.0.0"}
testinfra = "<2.0.0"
ansible-lint = "<4.0.0"
yamllint = "<2.0.0"
requests = "<3.0.0"
python-vagrant = "*"

[requires]
python_version = "2.7"
Loading