PBM-1171 more timeouts #73
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: PBM-FULL | |
on: | |
workflow_dispatch: | |
inputs: | |
pbm_branch: | |
description: "pbm branch" | |
required: false | |
go_ver: | |
description: "golang version" | |
required: false | |
# push: | |
# branches: | |
# - main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'pbm-functional/pytest/**' | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: false | |
matrix: | |
psmdb: ["4.4", "5.0", "6.0"] | |
test: [logical, physical, incremental, external] | |
env: | |
PBM_BRANCH: ${{ github.event.inputs.pbm_branch || 'main' }} | |
GO_VER: ${{ github.event.inputs.go_ver || 'bullseye' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup environment with PSMDB ${{ matrix.psmdb }} and PBM branch ${{ env.PBM_BRANCH }} | |
run: | | |
PSMDB=percona/percona-server-mongodb:${{ matrix.psmdb }} docker-compose build | |
docker-compose up -d | |
working-directory: ./pbm-functional/pytest | |
- name: Test ${{ matrix.test }} backup/restore on PSMDB ${{ matrix.psmdb }} and PBM branch ${{ env.PBM_BRANCH }} | |
run: | | |
docker-compose run test pytest -s --junitxml=junit.xml -k ${{ matrix.test }} | |
working-directory: ./pbm-functional/pytest | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: success() || failure() | |
with: | |
report_paths: '**/junit.xml' | |