Revisit return values
[kconfig-hardened-check.git] / .github / workflows / main.yml
1 name: functional test
2
3 on:
4   push:
5     branches: [ master ]
6   pull_request:
7     branches: [ master ]
8
9 jobs:
10   check_all_configs:
11
12     runs-on: ubuntu-latest
13
14     strategy:
15       max-parallel: 4
16       fail-fast: false
17       matrix:
18         python-version: [3.6, 3.7, 3.8]
19         # github runner with python 3.5 currently fails to install this package
20
21     steps:
22
23     - uses: actions/checkout@v2
24
25     - name: Set up Python ${{ matrix.python-version }}
26       uses: actions/setup-python@v1
27       with:
28         python-version: ${{ matrix.python-version }}
29
30     - name: Install
31       run: |
32         python -m pip install --upgrade pip
33         pip install setuptools
34         python ./setup.py install
35
36     - name: Try
37       run: |
38         set -x
39         kconfig-hardened-check
40         echo $?
41