fix(artifacts_collector): fix build initialization if conditional/branch step has no artifacts #223
Workflow file for this run
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 |