-
Notifications
You must be signed in to change notification settings - Fork 56
45 lines (42 loc) · 1.04 KB
/
ci_static-analysis.yaml
File metadata and controls
45 lines (42 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This workflow runs static analysis checks on pull requests.
name: static analysis
on:
workflow_call:
# Keep the schedule to maintain daily runs
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
analysis:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
category:
# Disabled pending completion of integration
# https://github.com/aws/aws-dynamodb-encryption-python/issues/66
# - mypy-py3
- bandit
- doc8
- readme
- docs
- flake8
- pylint
- flake8-tests
- flake8-examples
- pylint-tests
- pylint-examples
- black-check
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- run: |
python -m pip install --upgrade pip
pip install --upgrade -r dev_requirements/ci-requirements.txt
- name: check
env:
TOXENV: ${{ matrix.category }}
run: tox -- -vv