fix(report): Parse data from sarif as URI, instead of treating it as … #9
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: | |
push | |
jobs: | |
universum_postcommit: | |
name: Universum postcommit | |
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="git" | |
--git-repo "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" | |
--git-refspec "$GITHUB_REF_NAME" | |
--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 |