Skip to content

Commit

Permalink
doc: proper python section and indenting fix (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare authored Feb 20, 2023
1 parent 28d4f6c commit 1b86bc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you need multiple actions to happen then it's up to you to combine them as ne
### Ansible Collections
We have workflows for testing Ansible collectionis on GitHub Actions and for releasing your Ansible collections to [Galaxy](https://galaxy.ansible.com).
We have workflows for testing Ansible collections on GitHub Actions and for releasing your Ansible collections to [Galaxy](https://galaxy.ansible.com).
#### Ansible Collections: Release
Expand Down Expand Up @@ -94,6 +94,10 @@ jobs:
requirements: black isort
```

### Python

Our Python workflows use [Poetry](https://python-poetry.org/) for installing dependencies, [pytest](https://pytest.org/) for testing, and Poetry for publishing to [pypi](https://pypi.org/).

#### Python: Poetry Pytest

Create the main `.github/workflows/test.yaml` file for an ansible collection repo:
Expand All @@ -113,7 +117,7 @@ jobs:

Configure your `pyproject.toml` to run pytest and you are good to go.

### Python: Poetry Release
#### Python: Poetry Release

Create this `.github/workflows/release.yaml

Expand Down

0 comments on commit 1b86bc5

Please sign in to comment.