Skip to content

Commit 1b18b4b

Browse files
committed
Add a README
1 parent 4aa9685 commit 1b18b4b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
![Tox sanity test](https://github.com/encukou/tox-github-action/workflows/Tox%20sanity%20test/badge.svg)
2+
3+
# Tox Github Action
4+
5+
This GitHub action tests a checked-out Python project using
6+
[Tox](https://tox.readthedocs.io/en/latest/index.html).
7+
8+
9+
## Usage
10+
11+
```yaml
12+
- uses: encukou/tox-github-action
13+
with:
14+
# The tox environment to run
15+
# Default: py38 (subject to change as new Python releases come out)
16+
tox_env: py38
17+
```
18+
19+
Add the action to your workflow file, e.g. `.github/workflows/main.yml`,
20+
after checking out your code.
21+
22+
You can use the `matrix` strategy to run with multiple Tox environments.
23+
24+
For an example, see [this project's workflow](.github/workflows/main.yml).

0 commit comments

Comments
 (0)