f5bd6e3b2f
Administratively merging because @vltr and @ahopkins are the release managers, and @ahopkins is originator of the PR * Add Python 3.10 testing (and support) * fixed py310 tox environment for windows, quoted '3.10' in python-310 tests to avoid numeric compression * updated tox.ini for py310 * quoted the rest of the bare 3.10 references in the workflows * Issue with pytest requires version bump to 6.2.5 for python 3.10 Co-authored-by: Stephen Sadowski <stephen.sadowski@sjsadowski.com>
34 lines
941 B
YAML
34 lines
941 B
YAML
name: Security Analysis
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
bandit:
|
|
name: type-check-${{ matrix.config.python-version }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
config:
|
|
- { python-version: 3.7, tox-env: security}
|
|
- { python-version: 3.8, tox-env: security}
|
|
- { python-version: 3.9, tox-env: security}
|
|
- { python-version: "3.10", tox-env: security}
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v2
|
|
id: checkout-branch
|
|
|
|
- name: Run Linter Checks
|
|
id: linter-check
|
|
uses: harshanarayana/custom-actions@main
|
|
with:
|
|
python-version: ${{ matrix.config.python-version }}
|
|
test-infra-tool: tox
|
|
test-infra-version: latest
|
|
action: tests
|
|
test-additional-args: "-e=${{ matrix.config.tox-env }}"
|