Skip to content

Commit d0a7f44

Browse files
committed
Working on unit tests workflow YAML, wip
1 parent c8c6087 commit d0a7f44

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/unit_test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,33 @@ on:
44
push:
55
branches:
66
- main
7+
- unit_tests_in_ci
78
pull_request:
89
branches:
910
- main
11+
- unit_tests_in_ci
12+
workflow_dispatch:
1013

1114
jobs:
1215
unit_test_pytorch_2_4_1_cuda_12_1:
1316
runs-on: ubuntu-latest
1417

1518
container:
16-
image: pytorch/pytorch:2.4.1-cuda12.1-cudnn9-runtime
19+
image: pytorch/pytorch:2.4.1-cuda12.1-cudnn9-devel
1720

1821
steps:
1922
- name: Checkout code
2023
uses: actions/checkout@v3
2124

22-
- name: Set up Python environment
25+
- name: Set up environment
2326
run: |
2427
python --version
2528
pip install --upgrade pip
2629
27-
- name: Install dependencies
30+
- name: Install package
2831
run: |
32+
pip install pytest lightning
2933
pip install .
30-
pip install pytest
3134
3235
- name: Run Fault Tolerance unit tests
3336
run: |

0 commit comments

Comments
 (0)