Merge pull request #250 from intel/metric_corrections_tma_5.01 #6
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
# 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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 |