Replace GeneratedAqlQuery with AqlQuery #464
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches-ignore: | |
- "stable" | |
jobs: | |
node: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [18, 20] | |
arangodb-version: | |
- arangodb/arangodb:3.10.10 | |
- arangodb/enterprise:3.10.10 | |
- arangodb/arangodb:3.11.4 | |
- arangodb/enterprise:3.11.4 | |
- arangodb/arangodb-test:devel-nightly | |
- arangodb/enterprise-test:devel-nightly | |
container: | |
image: node:${{ matrix.node-version }}-alpine | |
services: | |
arangodb: | |
image: ${{ matrix.arangodb-version }} | |
env: | |
ARANGO_NO_AUTH: 1 | |
ARANGO_LICENSE_KEY: ${{ secrets.ARANGO_LICENSE_KEY }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: apk add jq | |
- run: npm install -g npm@9 | |
- run: npm install | |
- run: npm test | |
env: | |
ARANGO_RELEASE: ${{ matrix.arangodb-version }} | |
TEST_ARANGODB_URL: http://arangodb:8529 | |
CI: true | |
web: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arangodb-version: | |
- arangodb/arangodb:3.10.10 | |
- arangodb/arangodb:3.11.4 | |
- arangodb/arangodb-test:devel-nightly | |
container: | |
image: node:16 | |
services: | |
arangodb: | |
image: ${{ matrix.arangodb-version }} | |
env: | |
ARANGO_NO_AUTH: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: apt-get update && apt-get install jq wget gnupg -y | |
- run: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
- run: sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
- run: apt-get update && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 --no-install-recommends -y | |
- run: npm install -g npm@9 | |
- run: npm install && npm install puppeteer | |
- run: node smoke-test.js | |
promote: | |
runs-on: ubuntu-latest | |
needs: ["node", "web"] | |
if: ${{ github.ref == 'refs/heads/main' }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GH_TOKEN }} | |
- run: git fetch . HEAD:stable | |
- run: git push origin stable |