Skip to content

bump to 2.0.1

bump to 2.0.1 #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Tests (Python ${{ matrix.python-version }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint
run: ruff check aiss/
- name: Type check
run: mypy aiss/ --ignore-missing-imports
continue-on-error: true
- name: Tests
run: pytest --cov=aiss --cov-report=xml -v
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
continue-on-error: true
security:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: |
pip install bandit pip-audit
bandit -r aiss/ -ll -f json -o bandit-report.json
pip-audit
continue-on-error: true
- uses: actions/upload-artifact@v4
if: always()
with:
name: bandit-report
path: bandit-report.json