Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GitHub Actions #22

Closed
mgedmin opened this issue Nov 20, 2020 · 4 comments
Closed

Support GitHub Actions #22

mgedmin opened this issue Nov 20, 2020 · 4 comments

Comments

@mgedmin
Copy link
Owner

mgedmin commented Nov 20, 2020

A bunch of ZopeFoundation repos are getting GitHub actions based on https://github.com/zopefoundation/meta/blob/master/config/default/tests.yml.in:

jobs:
  build:
    strategy:
      matrix:
        config:
        # [Python version, tox env]
        - ["3.8",   "lint"]
        - ["2.7",   "py27"]
        - ["3.5",   "py35"]
        - ["3.6",   "py36"]
        - ["3.7",   "py37"]
        - ["3.8",   "py38"]
        - ["3.9",   "py39"]
        - ["pypy2",   "pypy"]
        - ["pypy3",   "pypy3"]
        - ["3.8",   "coverage"]

One project that does this is zope.browser.

Originally posted by @mgedmin in #9 (comment)

mgedmin added a commit that referenced this issue Nov 20, 2020
@mgedmin
Copy link
Owner Author

mgedmin commented Nov 20, 2020

mypy has an interesting workflow:
https://github.com/python/mypy/blob/63f2fed5d0e10d4d875442e9bba2283c81dfdf4b/.github/workflows/test.yml#L22-L34

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        name: [windows-py37-32, windows-py37-64]
        include:
        - name: windows-py37-32
          python: '3.7'
          arch: x86
          os: windows-latest
          toxenv: py37
        - name: windows-py37-64
          python: '3.7'
          arch: x64
          os: windows-latest
          toxenv: py37

It is very verbose. I don't like it.

@mgedmin
Copy link
Owner Author

mgedmin commented Nov 20, 2020

@mgedmin
Copy link
Owner Author

mgedmin commented Nov 20, 2020

mgedmin added a commit that referenced this issue Nov 20, 2020
@mgedmin
Copy link
Owner Author

mgedmin commented Nov 20, 2020

Fixed in bce3526.

check-python-versions 0.17.0 has support for GitHub Actions!

@mgedmin mgedmin closed this as completed Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant