From ca57f5c84e1b6cbe9c189a493b3652d26abe87d5 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 12 Feb 2020 13:23:34 -0800 Subject: [PATCH] devops: re-factor github workflow internal structure --- .github/workflows/chromium-linux.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/chromium-linux.yml b/.github/workflows/chromium-linux.yml index 2384d374ef..3b3741f8bf 100644 --- a/.github/workflows/chromium-linux.yml +++ b/.github/workflows/chromium-linux.yml @@ -1,5 +1,3 @@ -name: "tests: Linux + CR" - on: push: branches: @@ -8,30 +6,32 @@ on: branches: - master +env: + NODE_VERSION: 10.15 + jobs: - build: - + tests_linux_chromium: + name: "tests: Linux + CR" runs-on: ubuntu-18.04 - strategy: - matrix: - node-version: [12.x] - steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} + - name: Install Node.js ${{NODE_VERSION}} uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: ${{NODE_VERSION}} - name: install required packages run: | sudo apt-get update sudo apt-get install libgbm-dev sudo apt-get install xvfb - - name: npm install, build, and test + - name: npm install run: | npm install + - name: run tests + run: | xvfb-run --auto-servernum npm run ctest env: CI: true +