Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
40fce51c
Commit
40fce51c
authored
Nov 23, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ahh, need to handle os as part of the matrix.
parent
85a617b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
22 deletions
+24
-22
.github/workflows/ci.yml
.github/workflows/ci.yml
+24
-22
No files found.
.github/workflows/ci.yml
View file @
40fce51c
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment