Skip to content

Commit

Permalink
chore: add python to CI for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FL33TW00D committed Jan 21, 2024
1 parent 0afb27d commit 8c2b54d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
sudo apt-get update
sudo apt install -y libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev vulkan-sdk mesa-vulkan-drivers pkg-config libasound2-dev
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10.6'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Setup
run: |
cargo install wasm-pack
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--extra-index-url https://download.pytorch.org/whl/cpu
numpy==1.24.3
torch==2.0.1

0 comments on commit 8c2b54d

Please sign in to comment.