forked from robotframework/robotframework
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 875 Bytes
/
unit_tests_pr.yml
File metadata and controls
38 lines (31 loc) · 875 Bytes
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
name: Unit tests
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'utest/**'
- '!**/*.rst'
jobs:
test_using_builtin_python:
strategy:
fail-fast: true
matrix:
os: [ 'ubuntu-latest', 'windows-latest' ]
python-version: [ '3.6', '3.9' ]
exclude:
- os: windows-latest
python-version: 'pypy3'
runs-on: ${{ matrix.os }}
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v2.3.2
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Run unit tests
run: |
python -m pip install -r utest/requirements.txt
python utest/run.py -v