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: - ansible.builtin.dnf:
name: "*" name: "*"
state: latest state: latest
- ansible.builtin.user:
name: testuser
- hosts: localhost - hosts: localhost
roles: roles:
@ -18,8 +20,9 @@
tests: tests:
- smoke: - smoke:
dir: python/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: required_packages:
- util-linux
- gcc - gcc
- python3-tox - python3-tox
- pypy3.9-devel - pypy3.9-devel