Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from lalithkota/15.0-develop
Browse files Browse the repository at this point in the history
Test action: Fixed matrix
  • Loading branch information
shibu-narayanan authored Apr 1, 2024
2 parents 4574166 + 139b382 commit 32f0035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- id: set-matrix
run: |
BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')
BRANCH_NAME=$(echo ${{ github.base_ref || github.ref }} | sed -e 's,.*/\(.*\),\1,')
if [[ $BRANCH_NAME = 15.0* ]] ; then
matrix='{"include": [{
"container": "ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest",
Expand All @@ -57,7 +57,7 @@ jobs:
"name": "test with OCB 17"
}]}'
fi
echo "matrix<<EOF"$'\n'"$matrix"$'\n'EOF >> $GITHUB_OUTPUT
echo "matrix=$matrix" | tr -d '\n' >> $GITHUB_OUTPUT
test:
needs: matrix_prep
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 32f0035

Please sign in to comment.