Skip to content

Commit 1d27d6d

Browse files
committed
P4DEVOPS-6213 Github Actions CI
1 parent cd69fe8 commit 1d27d6d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI
2+
23
on:
34
push:
45
pull_request:
@@ -17,23 +18,28 @@ jobs:
1718
- name: Set up Python
1819
uses: actions/setup-python@v5
1920
with:
20-
python-version: 3.11
21+
python-version: 3.10
2122
architecture: "x64"
2223
- name: Set up Ruby
2324
uses: ruby/setup-ruby@v1
2425
with:
2526
ruby-version: '3.2'
2627
- name: Install RSpec
2728
run: gem install rspec
29+
2830
- name: Install pip dependencies
2931
run: pip install --timeout 1000 -r requirements.txt -r tests/ci/requirements.txt
32+
3033
- name: Start Xvfb
3134
run: |
3235
Xvfb :99 -screen 0 640x480x16 &
3336
echo "DISPLAY=:99.0" >> $GITHUB_ENV
37+
ps aux | grep Xvfb
38+
xdpyinfo -display :99
39+
3440
- name: Run tests
3541
run: |
3642
python tests/resources/httpserver/start.py &
37-
coverage run --source=bzt -m nose2 -s tests unit.modules.test_GUIScreen -v
43+
coverage run --source=bzt -m nose2 -s tests/unit -v
3844
coverage report -m
3945
codecov

0 commit comments

Comments
 (0)