Skip to content

[WIP] Simplifying refactor #300

[WIP] Simplifying refactor

[WIP] Simplifying refactor #300

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: Small Benchmark/Test Suite
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
- devel
# VJUNG: Introduce concurrency groups named with branch refs.
# VJUNG: If one pushes 5 times on its branch only the most recent commit will trigger CI.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
Test:
runs-on: [self-hosted, docker]
steps:
- name: Pull
uses: actions/checkout@v4
env:
HOME: /workspace
- name: Prerequisites
uses: ./.github/actions/prereqs
with:
env_name: ci_env
- name: Test
id: test
continue-on-error: true
uses: ./.github/actions/test
with:
env_name: ci_env
extensive: "false"
test_suite: "operators"
- name: Commit test results
id: commit_results
env:
HOME: /workspace
uses: ./.github/actions/commit_results
with:
dir: small
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: results-small
path: ${{ steps.commit_results.outputs.results_dir }}
retention-days: 7
- name: Mark workflow as failed if tests failed
if: steps.test.outcome == 'failure'
run: exit 1