Skip to content

Commit

Permalink
Tox on push and PR to master
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsdukai committed Aug 30, 2022
1 parent fec9dbf commit 4f7e537
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python package

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py

0 comments on commit 4f7e537

Please sign in to comment.