Skip to content

Commit

Permalink
Merge branch 'master' into reproducible-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rzuckerm authored Oct 11, 2021
2 parents 2d86ae9 + 433641e commit 4a4df1c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pre-commit-hooks

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

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, pypy3]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ commands = python update_requirements.py

[pep8]
ignore=E265,E501,W504

[gh-actions]
python =
3.6: pre-commit, py36
3.7: py37
3.8: py38
pypy-3.6: pypy3

0 comments on commit 4a4df1c

Please sign in to comment.