mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2740 from benoitc/gh-actions
Split gh-actions into main/test + lint workflows, replace Travis badges
This commit is contained in:
commit
1aae54a8e1
29
.github/workflows/lint.yml
vendored
Normal file
29
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: lint
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
tox-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e lint
|
||||
|
||||
tox-docs-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e docs-lint
|
||||
|
||||
tox-pycodestyle:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e pycodestyle
|
||||
27
.github/workflows/tox.yml
vendored
27
.github/workflows/tox.yml
vendored
@ -1,33 +1,6 @@
|
||||
name: tox
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
tox-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e lint
|
||||
|
||||
tox-docs-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e docs-lint
|
||||
|
||||
tox-pycodestyle:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install tox
|
||||
- run: tox -e pycodestyle
|
||||
|
||||
tox:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@ -9,9 +9,13 @@ Gunicorn
|
||||
:alt: Supported Python versions
|
||||
:target: https://pypi.python.org/pypi/gunicorn
|
||||
|
||||
.. image:: https://travis-ci.org/benoitc/gunicorn.svg?branch=master
|
||||
.. image:: https://github.com/benoitc/gunicorn/actions/workflows/tox.yml/badge.svg
|
||||
:alt: Build Status
|
||||
:target: https://travis-ci.org/benoitc/gunicorn
|
||||
:target: https://github.com/benoitc/gunicorn/actions/workflows/tox.yml
|
||||
|
||||
.. image:: https://github.com/benoitc/gunicorn/actions/workflows/lint.yml/badge.svg
|
||||
:alt: Lint Status
|
||||
:target: https://github.com/benoitc/gunicorn/actions/workflows/lint.yml
|
||||
|
||||
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a pre-fork
|
||||
worker model ported from Ruby's Unicorn_ project. The Gunicorn server is broadly
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user