Skip to content

Add SARIF parser

Add SARIF parser #16

Workflow file for this run

name: Tox
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
jobs:
build:
runs-on: ubuntu-latest
name: Python tests
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 1
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: 3.11
architecture: x64
- name: Install dependencies
run: pip install tox
- name: Run tests and type checking
run: tox
- name: Report test coverage to DeepSource
run: |
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml