[16][MIG] project_api #205
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: | |
pull_request: | |
branches: | |
- "16.0*" | |
push: | |
branches: | |
- "16.0" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
server_version: ["16.0"] | |
client_version: ["16.0", "14.0", "12.0", "10.0", "8.0"] | |
env: | |
SERVER_VERSION: ${{ matrix.server_version }} | |
CLIENT_VERSION: ${{ matrix.client_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Build | |
run: ./tools/build | |
- name: Init Server Database | |
run: ./tools/start-server init-db | |
- name: Start Server in Background | |
run: ./tools/start-server-deamon | |
- name: Init Client Database | |
run: ./tools/start-client init-db | |
- name: Run Client Test | |
run: ./tools/start-client run-test | |
- name: Convert Coverage file | |
run: ./tools/start-client convert-coverage | |
- uses: codecov/codecov-action@v2 |