File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Unit Tests
2+
3+ on :
4+ push :
5+ branches : [ "main", "master" ]
6+ pull_request :
7+ branches : [ "main", "master" ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ run_tests :
12+ name : Run Tests
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+ - name : Install Dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install -r requirements.txt # If you have a requirements.txt file
21+ - name : Run Pytest
22+ run : |
23+ export KERAS_BACKEND=jax
24+ pytest -v
Original file line number Diff line number Diff line change 1+ jax >= 0.4.30
2+ jaxlib >= 0.4.30
3+ numpy
4+ pylint
5+ pytest
6+ pyink
7+ pre-commit
8+ clu
9+ jaxtyping
10+ tensorflow
11+ keras
12+ fiddle
13+ tensorflow_datasets
14+ absl-py
15+ keras_hub
16+ torch
17+ einops
You can’t perform that action at this time.
0 commit comments