Updated python tests to the lates CI template

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
Fabian Sauter 2022-06-08 10:00:58 +02:00
parent 210fa21a3a
commit 55f6df6160

View file

@ -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