Skip to content

cleanup: Remove unwanted files from GitHub #4

cleanup: Remove unwanted files from GitHub

cleanup: Remove unwanted files from GitHub #4

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install abir-guard
run: |
git clone https://github.com/Abiress/abir-guard.git
pip install ./abir-guard
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -e ".[dev]"
- name: Lint with flake8
run: |
flake8 src/ tests/ --max-line-length=100
- name: Format check with black
run: |
black --check src/ tests/
- name: Run tests
run: |
pytest tests/ -v --cov=src --cov-report=term-missing
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run security scan
uses: securecodewarrior/github-action-add-sarif@v1
with:
sarif-file: 'security-scan.sarif'
continue-on-error: true