Skip to content

Commit

Permalink
Move nox -s lint to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored and sethmlarson committed Sep 17, 2020
1 parent 0a9db87 commit 0f11d38
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -7,6 +7,21 @@ defaults:
shell: bash

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: python3.8 -m pip install nox
- name: Lint the code
run: nox -s lint

package:
runs-on: ubuntu-latest

Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -33,8 +33,6 @@ jobs:
- python: nightly
include:
# Lint & documentation.
- python: 3.8
env: NOX_SESSION=lint
- python: 3.8
env: NOX_SESSION=docs

Expand Down

0 comments on commit 0f11d38

Please sign in to comment.