Skip to content

Trim file path from Kineto File name to avoid errors when running from another directory #299

Trim file path from Kineto File name to avoid errors when running from another directory

Trim file path from Kineto File name to avoid errors when running from another directory #299

Workflow file for this run

name: Python Unit Tests
on: pull_request
jobs:
python-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Python Environment
uses: actions/setup-python@v2
with:
python-version: '3.10.14'
- name: Install Chakra
run: |
pip install .
- name: Install PARAM
run: |
git clone https://github.com/facebookresearch/param.git
cd param/et_replay
git checkout 7b19f586dd8b267333114992833a0d7e0d601630
pip install .
- name: Install HTA
run: |
git clone https://github.com/facebookresearch/HolisticTraceAnalysis.git
cd HolisticTraceAnalysis
git checkout d731cc2e2249976c97129d409a83bd53d93051f6
git submodule update --init
pip install -r requirements.txt
pip install -e .
- name: Install Dependencies
run: |
pip install -r requirements-dev.txt
- name: Run Unit Tests
run: |
python -m pytest -vv tests