Skip to content

Fix sarif parser

Fix sarif parser #215

Workflow file for this run

name: Tox
on:
push:
branches: [master]
pull_request:
branches: [master]
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
uses: deepsourcelabs/test-coverage-action@master
with:
key: python
coverage-file: ./coverage.xml
dsn: ${{ secrets.DEEPSOURCE_DSN }}