Commit 40fce51c authored by Jason Madden's avatar Jason Madden

Ahh, need to handle os as part of the matrix.

parent 85a617b3
...@@ -38,10 +38,12 @@ on: [push, pull_request] ...@@ -38,10 +38,12 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
python-version: [2.7, pypy, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9] python-version: [2.7, pypy, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest]
env: env:
# XXX: Can't seem to set these globally. ``defaults.env`` is not # XXX: Can't seem to set these globally. ``defaults.env`` is not
# a thing. # a thing.
...@@ -113,28 +115,28 @@ jobs: ...@@ -113,28 +115,28 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
python -m gevent.tests python -m gevent.tests
# lint: lint:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# # Lint the code. Because this is a separate job, even if it fails fast # Lint the code. Because this is a separate job, even if it fails fast
# # the tests will still run. Put it at the top for fast feedback. # the tests will still run. Put it at the top for fast feedback.
# # We only need to do this on one version, and it should be Python 3, because # We only need to do this on one version, and it should be Python 3, because
# # pylint has stopped updating for Python 2. # pylint has stopped updating for Python 2.
# steps: steps:
# - name: checkout - name: checkout
# uses: actions/checkout@v2 uses: actions/checkout@v2
# - name: Set up Python 3.9 - name: Set up Python 3.9
# uses: actions/setup-python@v2 uses: actions/setup-python@v2
# with: with:
# python-version: 3.9 python-version: 3.9
# - name: pylint - name: pylint
# # We need pylint, since above we're not installing a # We need pylint, since above we're not installing a
# # requirements file. # requirements file.
# run: | run: |
# pip install -U pip pip install -U pip
# pip install -U wheel cffi greenlet pylint pip install -U wheel cffi greenlet pylint
# pip install -U -e .[test] pip install -U -e .[test]
# python -m pylint --limit-inference-results=1 --rcfile=.pylintrc gevent python -m pylint --limit-inference-results=1 --rcfile=.pylintrc gevent
# TODO: # TODO:
# * Configure caching # * Configure caching
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment