Updated python tests to the lates CI template
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
210fa21a3a
commit
55f6df6160
1 changed files with 8 additions and 13 deletions
21
.github/workflows/python_tests.yml
vendored
21
.github/workflows/python_tests.yml
vendored
|
|
@ -8,21 +8,16 @@ on:
|
|||
|
||||
jobs:
|
||||
python-tests:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
runs-on: ubuntu-latest
|
||||
container: axsauze/kompute-builder:0.3
|
||||
|
||||
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
|
||||
- name: Install vulkaninfo
|
||||
run: apt update -y && apt install -y vulkan-tools
|
||||
- name: Install Python Requirements
|
||||
run: pip3 install -r python/test/requirements-dev.txt
|
||||
- name: Python Build
|
||||
run: pip3 install .
|
||||
- name: Python run Tests
|
||||
run: |
|
||||
export VK_ICD_FILENAMES=/swiftshader/vk_swiftshader_icd.json
|
||||
make test_python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue