File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : pytest-arch
2
+ run-name : Run pytest on Arch Linux
3
+ on : [push]
4
+ jobs :
5
+ pytest :
6
+ runs-on : self-hosted
7
+ container :
8
+ image : archlinux:latest
9
+ volumes :
10
+ - /home/actions/oiejq:/github/home/.local/bin
11
+ options :
12
+ --privileged
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v3
16
+ - name : Prepare system
17
+ run : |
18
+ sysctl kernel.perf_event_paranoid=-1
19
+ pacman -Syu --noconfirm diffutils time gcc
20
+ - name : Set up Python 3.11
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : 3.11
24
+ - name : Install dependencies
25
+ run : |
26
+ pip3 install .[tests]
27
+ - name : Run pytest
28
+ run : |
29
+ python3 -m pytest -v
Original file line number Diff line number Diff line change 1
1
name : pytest-github-runner
2
- run-name : Run tests that don't work on self hosted runner
2
+ run-name : Run tests for GitHub Runner
3
3
on : [push]
4
4
jobs :
5
5
pytest :
You can’t perform that action at this time.
0 commit comments