-
Notifications
You must be signed in to change notification settings - Fork 35
44 lines (35 loc) · 1.02 KB
/
python_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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