-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (30 loc) · 1006 Bytes
/
push.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
name: Robot Framework statuschecker CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.16, 3.12.8]
rf-version: [6.1.1, 7.2]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} with Robot Framework ${{ matrix.rf-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies on Python
if: matrix.python-version != 'pypy3'
run: |
python -m pip install --upgrade pip uv
uv pip install --python ${{ matrix.python-version }} --system -r requirements-dev.txt
uv pip install --python ${{ matrix.python-version }} --system robotframework==${{ matrix.rf-version }}
- name: Run lint
run: |
inv lint
env:
GITHUB_ACTIONS_RUNNIN_RUFF_LINT: 'true'
- name: Run tests
run: |
python --version
python test/run.py