2020-06-18 14:10:27 +02:00
|
|
|
name: tools-test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2020-07-15 17:44:30 +02:00
|
|
|
- '*'
|
2020-06-18 14:10:27 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
python-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
|
|
|
python-version: 3.8
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install tox
|
2020-10-12 14:19:40 +02:00
|
|
|
python -m pip install kconfiglib
|
2020-06-18 14:10:27 +02:00
|
|
|
- name: Test backport_pr
|
|
|
|
run: cd dist/tools/backport_pr && tox
|
|
|
|
- name: Test compile_and_test_for_board
|
|
|
|
run: cd dist/tools/compile_and_test_for_board && tox
|
|
|
|
- name: Test riotctrl_shell
|
|
|
|
run: cd dist/pythonlibs/riotctrl_shell && tox
|
2020-10-12 14:19:40 +02:00
|
|
|
- name: Test kconfig script
|
|
|
|
run: cd dist/tools/kconfiglib/tests && ./test.sh
|