From 46eeb7e9633acf95d407c16017faf137c2405d07 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Sat, 25 May 2019 15:21:55 +0200 Subject: [PATCH] chore: remove test workflow from actions (#1323) * chore: remove test workflow from actions It fails randomly, we need to investigate the reasons. * chore: re-enable unit test --- .github/main.workflow | 21 +-------------------- test/unit/api/basic_system.spec.js | 3 +-- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/main.workflow b/.github/main.workflow index a2bd05552..855e386a2 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -24,6 +24,7 @@ workflow "release" { resolves = [ "github-release", "release:lint", + "release:build", ] on = "push" } @@ -78,14 +79,6 @@ action "github-release" { ] } -workflow "build and test" { - resolves = [ - "lint", - "coverage", - ] - on = "push" -} - action "branch-filter" { uses = "actions/bin/filter@master" args = "branch" @@ -108,15 +101,3 @@ action "lint" { needs = ["install"] args = "yarn run lint" } - -action "test" { - uses = "docker://node:10" - needs = ["build"] - args = "sh scripts/puppeteer-setup-ci.sh" -} - -action "coverage" { - uses = "docker://node:10" - needs = ["test"] - args = "yarn run coverage:publish" -} diff --git a/test/unit/api/basic_system.spec.js b/test/unit/api/basic_system.spec.js index 66f1b6203..93dc43c42 100644 --- a/test/unit/api/basic_system.spec.js +++ b/test/unit/api/basic_system.spec.js @@ -30,8 +30,7 @@ describe('basic system test', () => { server.close(done); }); - // FIXME: we need to investigate why this fails randomly on GitHub Actions - test.skip('server should respond on /', done => { + test('server should respond on /', done => { request({ url: 'http://localhost:' + port + '/', }, function(err, res, body) {