1name: Python 3 testing 2 3on: [push, pull_request] 4 5jobs: 6 build: 7 runs-on: ubuntu-latest 8 strategy: 9 fail-fast: false 10 max-parallel: 1 11 matrix: 12 python-version: [3.8] # [2.7, 3.5, 3.6, 3.7] 13 steps: 14 - uses: actions/checkout@v2 15 - name: Set up Python ${{ matrix.python-version }} 16 uses: actions/setup-python@v1 17 with: 18 python-version: ${{ matrix.python-version }} 19 - name: Compile Node.js 20 run: | 21 python ./configure.py 22 make -j2 V=1 23 - name: Test JS Suites 24 run: | 25 python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare default 26 - name: Test C++ Suites 27 run: | 28 make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp 29 python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api 30 - name: Make lint 31 run: | 32 make lint-py-build || true 33 NODE=$(which node) make lint lint-py 34