fix(report): Parse data from sarif as URI #249
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Universum check | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
universum_check: | |
name: Universum check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependency | |
run: pip install universum[test] | |
- name: Universum | |
run: | |
python -u -m universum | |
--fail-unsuccessful | |
--vcs-type="ghactions" | |
--ghactions-payload="@${{ github.event_path }}" | |
--ghactions-token="${{ secrets.GITHUB_TOKEN }}" | |
--report-to-review | |
--no-archive | |
--no-diff | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: artifacts/*.xml | |
- name: Collect artifacts | |
uses: actions/upload-artifact@v2 | |
if: ${{ always() }} | |
with: | |
name: artifacts | |
path: artifacts |