Skip to content

add a requirements-test.txt file to organize additional python #54

add a requirements-test.txt file to organize additional python

add a requirements-test.txt file to organize additional python #54

Workflow file for this run

name: mi100
on:
pull_request:
branches:
- '2.x'
# Allows manual execution
workflow_dispatch:
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build:
runs-on: [mi100, rhel9]
env:
TEST_DIR: ${RUNNER_TEMP}/omniperf
PYTHONPATH: ${RUNNER_TEMP}/python-libs
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.GH_PAT }}
- name: Install Python collateral (build and test)
run: |

Check failure on line 29 in .github/workflows/mi100.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mi100.yml

Invalid workflow file

You have an error in your yaml syntax on line 29
pip3 install -t ${PYTHONPATH} requirements.txt
pip3 install -t ${PYTHONPATH} requirements-test.txt
- name: Configure
run: |
mkdir build
cd build
ml cmake
cmake -DENABLE_COVERAGE=ON ..
- name: Create HIP binary (vcopy)
run: hipcc -o tests/vcopy ./sample/vcopy.cpp
- name: Run [profile] mode
run: |
cd build
ml cmake
srun -N 1 -J omniperf -p ci -t 00:10:00 ctest --verbose -R test_profiler_general
- name: Run [analyze] mode
if: '!cancelled()'
run: |
cd build
ml cmake
srun -N 1 -J omniperf -p ci -t 00:55:00 ctest --verbose -R test_analyze_commands
- name: Pytest coverage comment
if: '!cancelled()'
uses: MishaKav/pytest-coverage-comment@v1.1.48
with:
pytest-xml-coverage-path: 'tests/coverage.xml'
junitxml-path: 'tests/test-results.xml'
coverage-path-prefix: src/