Skip to content

Commit

Permalink
Move docstring linting to GitHub workflows
Browse files Browse the repository at this point in the history
Fix pip cache key.
  • Loading branch information
nsoranzo committed Feb 4, 2021
1 parent 7cb575d commit db60704
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ jobs:
key: v1-repo-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/repo
py36_docstring:
docker:
- image: circleci/python:3.6
<<: *set_workdir
steps:
- *restore_repo_cache
- *install_tox
- run: tox -e py36-lint_docstring_include_list
py36_unit:
docker:
- image: circleci/python:3.6
Expand Down Expand Up @@ -159,8 +151,6 @@ workflows:
get_code_and_test:
jobs:
- get_code
- py36_docstring:
<<: *requires_get_code
- py36_unit:
<<: *requires_get_code
- py36_first_startup:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}
key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('lib/galaxy/dependencies/pinned-lint-requirements.txt') }}
- name: Install tox
run: pip install tox
- name: run tests
- name: Run linting
run: tox -e lint
- name: run mypy checks
- name: Run docstring linting
run: tox -e py36-lint_docstring_include_list
- name: Run mypy checks
run: tox -e mypy

0 comments on commit db60704

Please sign in to comment.