CI: Run as regular user

This commit is contained in:
Miro Hrončok 2022-06-09 13:09:07 +02:00 committed by churchyard
parent c48ca2889d
commit cb34f2d0b9

View File

@ -6,6 +6,8 @@
- ansible.builtin.dnf:
name: "*"
state: latest
- ansible.builtin.user:
name: testuser
- hosts: localhost
roles:
@ -18,8 +20,9 @@
tests:
- smoke:
dir: python/smoke
run: PYTHON=pypy3.9 VERSION=3.9 ./venv.sh
run: runuser testuser -c 'PYTHON=pypy3.9 VERSION=3.9 ./venv.sh'
required_packages:
- util-linux
- gcc
- python3-tox
- pypy3.9-devel