-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (35 loc) · 1.13 KB
/
rftest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Test Library
on: pull_request
jobs:
rftest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build Jenkins image
run: |
docker ps
docker build --pull -t jenkins-test atest/docker
docker run -p 127.0.0.1:8080:8080 -e JAVA_OPTS=-Djenkins.install.runSetupWizard=false -d jenkins-test
- name: Install library
run: pip install .
- name: Run robot framework tests
run: robot --loglevel DEBUG atest/
- name: Upload robot framework test results
uses: actions/upload-artifact@v3
with:
name: robotframework-results-${{ matrix.python-version }}
path: |
output.xml
log.html
report.html
if: ${{ always() }}