Attempting to limit runner to set users
This commit is contained in:
parent
4d200e2276
commit
b5df588336
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pwd
|
||||
- run: find .
|
||||
- run: echo "Building for $env:GITHUB_ACTOR"
|
||||
- run: cat /etc/os-release
|
||||
- run: pacman-key --init
|
||||
- run: pacman --noconfirm -Sy archlinux-keyring
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ on:
|
|||
jobs:
|
||||
run-qemu:
|
||||
name: qemu testbench
|
||||
if: ${{ github.actor == 'torxed' }}
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -29,10 +30,11 @@ jobs:
|
|||
EOF
|
||||
- run: pwd
|
||||
- run: cp /usr/share/ovmf/x64/OVMF_VARS.fd ./tests/qemu/OVMF_VARS.fd
|
||||
- run: rm ./tests/qemu/archtest.img
|
||||
- run: qemu-img create -f qcow2 ./tests/qemu/archtest.img 10G
|
||||
- run: tree
|
||||
- run: cat .screenrc_test
|
||||
- run: script -c "screen -c .screenrc_test"
|
||||
- run: script -c "resize -s 24 80 && stty rows 24 && stty cols 80 && screen -c .screenrc_test"
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: archtest-pci_emulation
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import threading
|
||||
import time
|
||||
import os
|
||||
import logging
|
||||
import asyncio
|
||||
from testbase import TestBase
|
||||
|
|
@ -170,3 +171,6 @@ class TestLeaveAllDefault(TestBase):
|
|||
break
|
||||
|
||||
time.sleep(0.25)
|
||||
|
||||
os.system('pkill tail')
|
||||
exit(self.exit_code)
|
||||
Loading…
Reference in New Issue