Skip to content

Commit

Permalink
Extract resilience run
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma4345 committed Sep 1, 2022
1 parent 679d494 commit 36f0259
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 25 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/resilience.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Resilience Tests

on:
push:
branches-ignore:
- "stable"

jobs:
resilience:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [14, 16, 18]
arangodb-version: [3.8, 3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g npm@8
- run: npm install
- run: docker pull arangodb:${{ matrix.arangodb-version }}
- run: npm test
env:
ARANGO_RELEASE: ${{ matrix.arangodb-version }}
RESILIENCE_DOCKER_IMAGE: arangodb:${{ matrix.arangodb-version }}
CI: true
29 changes: 4 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
node-version: [14, 16, 18]
arangodb-version: [3.8, 3.9]

container:
image: node:${{ matrix.node-version }}

services:
arangodb:
image: arangodb:${{ matrix.arangodb-version }}
Expand All @@ -23,9 +26,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: apt-get update && apt-get install jq -y
- run: npm install -g npm@8
- run: npm install
- run: npm test
Expand All @@ -34,28 +35,6 @@ jobs:
TEST_ARANGODB_URL: http://arangodb:8529
CI: true

resilience:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [14, 16, 18]
arangodb-version: [3.8, 3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g npm@8
- run: npm install
- run: npm test
env:
ARANGO_RELEASE: ${{ matrix.arangodb-version }}
RESILIENCE_DOCKER_IMAGE: arangodb:${{ matrix.arangodb-version }}
CI: true

web:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 36f0259

Please sign in to comment.