diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1f5e9c..f6c370e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: tests: - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/test/collections.js b/test/collections.js index 087aa56..04d7812 100644 --- a/test/collections.js +++ b/test/collections.js @@ -111,11 +111,16 @@ describe("Collections test", () => { `Testnet Job(${name}) url should send OK response` ); } else if (isUrlOrJson(url) === "URL") { - const res = await chai.request(url).get("").timeout(10000); - expect(res.status).to.be.equal( - 200, - `Testnet Job(${name}) url should send OK response` - ); + try { + const res = await chai.request(url).get("").timeout(10000); + expect(res.status).to.be.equal( + 200, + `Testnet Job(${name}) url should send OK response` + ); + } catch (error) { + console.log(`Error occured for ${name}`); + console.log(error); + } } else { console.error("Invalid URL:", url); }