Fixed #368 #426
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: Partly Integration Tests | |
on: | |
pull_request: | |
branches: | |
- develop | |
- rc | |
jobs: | |
rdbms: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
database: ["mysql8", "mariadb", "postgres15", "cockroach"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Start database containers | |
run: docker-compose -f "./tests/integrations/docker-compose.${{ matrix.database }}.yml" up -d --build | |
- name: Build the Axe API | |
run: npm install && npm run build | |
- name: Install integration test dependencies | |
run: cd tests/integrations && npm install && npm run build && cp -R scenarios/tests build/scenarios/tests && ls -all | |
- run: npm ci | |
- name: Testing all scenarions | |
run: npm run test:${{ matrix.database }} | |
sqlite: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Build the Axe API | |
run: npm install && npm run build | |
- name: Install integration test dependencies | |
run: cd tests/integrations && npm install && npm run build && cp -R scenarios/tests build/scenarios/tests && ls -all | |
- run: npm ci | |
- name: Testing all scenarions | |
run: npm run test:sqlite |