Skip to content

Commit c60f755

Browse files
Add Fedora 41 with wxPython 4.2.3 on Python 3.14 and save coverage-report (#2940)
* Add configuration for Fedora-41 with Python 3.14 in venv and wxPython 4.2.3 * Separate configuration for Fedora 41 with Python 3.14 in venv with wxPython 4.2.3 * Modify order of commands in Fedora Py314 * Activate venv in Fedora Py314 * Install psmisc in Fedora Py314 to provide killall * Install robotframework. Save coverage-report * Save coverage-report, also on Debian * Save coverage-report, removed name * Save coverage-report, removed slash * Save coverage-report in a zip archive * Save coverage-report FIX identation * Save coverage-report removed name * Save coverage-report install zip
1 parent cb6611b commit c60f755

File tree

2 files changed

+115
-1
lines changed

2 files changed

+115
-1
lines changed

.github/workflows/fedora_41.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: Linux
2+
on:
3+
push:
4+
branches-ignore:
5+
- '**/sources/**'
6+
- '**/windows/**'
7+
- '**/macos/**'
8+
paths-ignore:
9+
- '.github/workflows/sources.yml'
10+
- '.github/workflows/sonar.yml'
11+
- '.github/workflows/macos.yml'
12+
- '.github/workflows/windows.yml'
13+
- 'tools/**'
14+
- 'rtest/**'
15+
- 'doc/**'
16+
- '.appveyor.yml'
17+
- '.coveragerc'
18+
- '.gitattributes'
19+
- '.pylintrc'
20+
- '.travis.yml'
21+
- '.whitesource'
22+
- 'AUTHORS.txt'
23+
- 'BUILD.rest'
24+
- 'CHANGELOG.adoc'
25+
- 'CONTRIBUTING.adoc'
26+
- 'COPYRIGHT.txt'
27+
- 'LICENSE.txt'
28+
- 'MANIFEST.in'
29+
- 'README.adoc'
30+
- 'README.rest'
31+
- 'rfgen.py'
32+
- 'tox.ini'
33+
pull_request:
34+
paths-ignore:
35+
- '.github/workflows/sources.yml'
36+
- '.github/workflows/sonar.yml'
37+
- '.github/workflows/macos.yml'
38+
- '.github/workflows/windows.yml'
39+
- 'tools/**'
40+
- 'rtest/**'
41+
- 'doc/**'
42+
- '.appveyor.yml'
43+
- '.coveragerc'
44+
- '.gitattributes'
45+
- '.pylintrc'
46+
- '.travis.yml'
47+
- '.whitesource'
48+
- 'AUTHORS.txt'
49+
- 'BUILD.rest'
50+
- 'CHANGELOG.adoc'
51+
- 'CONTRIBUTING.adoc'
52+
- 'COPYRIGHT.txt'
53+
- 'LICENSE.txt'
54+
- 'MANIFEST.in'
55+
- 'README.adoc'
56+
- 'README.rest'
57+
- 'rfgen.py'
58+
- 'tox.ini'
59+
60+
jobs:
61+
fedora_py314:
62+
name: Fedora py314
63+
runs-on: ubuntu-22.04
64+
if: ${{ !contains(github.ref, '/debian/') }}
65+
container:
66+
image: helioguilherme/fedora:fedora-41
67+
options: --privileged -u root
68+
steps:
69+
- name: Configure container environment
70+
run: |
71+
sudo dnf update -y
72+
sudo dnf install -y git zip
73+
git config --global --add safe.directory ${GITHUB_WORKSPACE}
74+
- uses: actions/[email protected]
75+
with:
76+
submodules: false
77+
- name: Setup environment
78+
run: |
79+
git submodule update --init --recursive
80+
source /home/wxpy/venvs/Py314/bin/activate
81+
pip install https://robotframework.transformidea.com/RIDE/packages/Linux/Fedora_41/wxpython-4.2.4a15946+920a2bde-cp314-cp314-linux_x86_64.whl
82+
pip install -r requirements-dev.txt
83+
pip install robotframework
84+
sudo dnf install -y xorg-x11-server-Xvfb psmisc
85+
- name: Run tests
86+
run: |
87+
Xvfb &
88+
export DISPLAY=:0
89+
export GITHUB_ACTIONS=True
90+
git submodule update --init --recursive
91+
source /home/wxpy/venvs/Py314/bin/activate
92+
invoke test-ci
93+
zip -r coverage_report.zip .coverage-reports/htmlcov
94+
- uses: actions/upload-artifact@v4
95+
with:
96+
name: coverage-report
97+
path: coverage_report.zip
98+
- name: Install and run
99+
run: |
100+
git submodule update --init --recursive
101+
source /home/wxpy/venvs/Py314/bin/activate
102+
pip install .
103+
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
104+
sleep 10
105+
killall xvfb-run
106+

.github/workflows/linux.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ on:
5959

6060
jobs:
6161
fedora:
62-
name: Fedora
62+
name: Fedora py313
6363
runs-on: ubuntu-22.04
6464
if: ${{ !contains(github.ref, '/debian/') }}
6565
container:
@@ -80,6 +80,7 @@ jobs:
8080
# sudo dnf downgrade -y mesa* --refresh
8181
git submodule update --init --recursive
8282
pip install -r requirements-dev.txt
83+
pip install robotframework
8384
- name: Run tests
8485
run: |
8586
Xvfb &
@@ -94,6 +95,7 @@ jobs:
9495
xvfb-run --server-args="-screen 0, 1280x720x24" -a ride.py &
9596
sleep 10
9697
killall xvfb-run
98+
9799
debian:
98100
name: Debian
99101
runs-on: ubuntu-22.04
@@ -115,13 +117,19 @@ jobs:
115117
git submodule update --init --recursive
116118
pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl
117119
pip install -r requirements-dev.txt
120+
pip install robotframework
118121
pip install --force -U setuptools==69.5.1
119122
- name: Run tests
120123
run: |
121124
Xvfb &
122125
export DISPLAY=:0
123126
git submodule update --init --recursive
124127
invoke test-ci
128+
zip -r coverage_report.zip .coverage-reports/htmlcov
129+
- uses: actions/upload-artifact@v4
130+
with:
131+
name: coverage-report
132+
path: coverage_report.zip
125133
- name: Install and run
126134
run: |
127135
git submodule update --init --recursive

0 commit comments

Comments
 (0)