@@ -5,8 +5,8 @@ permissions:
55on :
66 workflow_dispatch :
77 inputs :
8- plm_branch :
9- description : " PLM branch"
8+ pcsm_branch :
9+ description : " PCSM branch"
1010 required : false
1111 tests_ver :
1212 description : " QA tests version"
2929 matrix :
3030 psmdb : ["6.0", "7.0", "8.0"]
3131 env :
32- PLM_BRANCH : ${{ github.event_name == 'pull_request' && github.head_ref || github.event.inputs.plm_branch || 'main' }}
32+ PCSM_BRANCH : ${{ github.event_name == 'pull_request' && github.head_ref || github.event.inputs.pcsm_branch || 'main' }}
3333 steps :
3434 - name : Checkout testing repo
3535 uses : actions/checkout@v4
@@ -38,17 +38,17 @@ jobs:
3838 ref : ${{ github.event.inputs.tests_ver || 'main'}}
3939 path : psmdb-testing
4040
41- - name : Setup environment with PSMDB ${{ matrix.psmdb }} and PLM PR/branch ${{ github.head_ref || github.event.inputs.plm_branch || env.PLM_BRANCH }}
41+ - name : Setup environment with PSMDB ${{ matrix.psmdb }} and PCSM PR/branch ${{ github.head_ref || github.event.inputs.pcsm_branch || env.PCSM_BRANCH }}
4242 run : |
4343 MONGODB_IMAGE=perconalab/percona-server-mongodb:${{ matrix.psmdb }} docker compose build easyrsa
4444 MONGODB_IMAGE=perconalab/percona-server-mongodb:${{ matrix.psmdb }} docker compose build
4545 docker compose up -d
46- working-directory : psmdb-testing/plm -pytest
46+ working-directory : psmdb-testing/pcsm -pytest
4747
48- - name : Test ${{ matrix.test }} sync on PSMDB ${{ matrix.psmdb }} and PLM PR/branch ${{ github.head_ref || github.event.inputs.plm_branch || env.PLM_BRANCH }}
48+ - name : Test ${{ matrix.test }} sync on PSMDB ${{ matrix.psmdb }} and PCSM PR/branch ${{ github.head_ref || github.event.inputs.pcsm_branch || env.PCSM_BRANCH }}
4949 run : |
5050 docker compose run --rm test pytest -s --junitxml=junit.xml
51- working-directory : psmdb-testing/plm -pytest
51+ working-directory : psmdb-testing/pcsm -pytest
5252
5353 - name : Publish Test Report
5454 uses : mikepenz/action-junit-report@v5
0 commit comments