Skip to content

Merge pull request #244 from intel/TMA-5.01-Fixes #4

Merge pull request #244 from intel/TMA-5.01-Fixes

Merge pull request #244 from intel/TMA-5.01-Fixes #4

# This workflow will setup Python, run unittests, and execute verify_mapfile.py.
name: Verify mapfile.csv
on:
push:
pull_request:
permissions:
contents: read
jobs:
verify-mapfile:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/scripts/ci/verify_mapfile
steps:
- name: Checkout perfmon
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Python 3.x
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.x"
- name: Install Python packages
run: pip install -r requirements.txt
- name: Run verify_mapfile self tests
run: python -m unittest
- name: Validate mapfile.csv
run: python verify_mapfile.py