diff options
author | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2020-11-07 17:40:47 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 17:40:47 -0600 |
commit | 07b113bdb43524181ec828a3b9da009a388c2161 (patch) | |
tree | a966043d0ff0cc46a1ffa412fe9cc44d19616510 /.github/workflows/main.yml | |
parent | a35d409e24d8b94e6a5b504acc659fdbcf862513 (diff) | |
parent | a6e25e1f84220dccd984f7190a1e54806e009230 (diff) | |
download | pep8-07b113bdb43524181ec828a3b9da009a388c2161.tar.gz |
Merge pull request #968 from asottile/github_actions
use github actions instead of travis-ci
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..29f1bd3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,56 @@ +name: main +on: + pull_request: + push: + branches: [master, 'test-me-*'] + tags: ['*'] + +jobs: + main: + strategy: + matrix: + include: + - os: windows-latest + py: 2.7 + toxenv: py + - os: windows-latest + py: 3.9 + toxenv: py + - os: ubuntu-latest + py: pypy2 + toxenv: py + - os: ubuntu-latest + py: pypy3 + toxenv: py + - os: ubuntu-latest + py: 2.7 + toxenv: py + - os: ubuntu-latest + py: 3.4 + toxenv: py + - os: ubuntu-latest + py: 3.5 + toxenv: py + - os: ubuntu-latest + py: 3.6 + toxenv: py + - os: ubuntu-latest + py: 3.7 + toxenv: py + - os: ubuntu-latest + py: 3.8 + toxenv: py + - os: ubuntu-latest + py: 3.9 + toxenv: py + - os: ubuntu-latest + py: 3.9 + toxenv: flake8 + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.py }} + - run: pip install tox + - run: tox -e ${{ matrix.toxenv }} |