Skip to content

Commit 7d48397

Browse files
committed
Pipeline changes to address port issue when testing on windows-latest
1 parent c1d237d commit 7d48397

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/on-push.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
matrix:
5757
os: [ 'ubuntu-latest', 'windows-latest']
5858
python-version: ['3.10', '3.11', '3.12', '3.13']
59-
robot-version: ['6.1.1', '7.0.0']
59+
robot-version: ['6.1.1', '7.3.2']
6060
exclude:
6161
- os: 'windows-latest'
6262
python-version: '3.10'
@@ -89,13 +89,19 @@ jobs:
8989
poetry install
9090
pip install robotframework==${{ matrix.robot-version}}
9191
- name: Start the test server in the background
92-
run: |
93-
inv start-api &
92+
uses: JarvusInnovations/background-action@v1.0.7
93+
with:
94+
run: |
95+
inv start-api
96+
wait-on: |
97+
http://localhost:8000
98+
tail: true
99+
wait-for: 1m
94100
- name: Run tests
95101
run: |
96102
inv tests
97103
- uses: actions/upload-artifact@v4
98104
if: ${{ always() }}
99105
with:
100106
name: Test results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.robot-version}}
101-
path: zip_results/output
107+
path: tests/logs

0 commit comments

Comments
 (0)