mirror of
https://github.com/nomic-ai/kompute.git
synced 2026-05-11 08:59:59 +00:00
Added separate gh actions
This commit is contained in:
32
.github/workflows/python_tests.yml
vendored
Normal file
32
.github/workflows/python_tests.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Python Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
container: axsauze/kompute-builder:0.2
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: configure-python
|
||||
run: |
|
||||
pip3 install -r python/test/requirements-dev.txt
|
||||
- name: build-python
|
||||
run: |
|
||||
pip3 install .
|
||||
- name: test-python
|
||||
run: |
|
||||
export VK_ICD_FILENAMES=/swiftshader/vk_swiftshader_icd.json
|
||||
pytest -v python/test/test_array_multiplication.py
|
||||
pytest -v python/test/test_kompute.py -k "test_opmult"
|
||||
pytest -v python/test/test_logistic_regression.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user