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 #11 from lalithkota/17.0-develop
Browse files Browse the repository at this point in the history
Fixed test-requirements
  • Loading branch information
shibu-narayanan authored Apr 1, 2024
2 parents 2e18122 + 98ee1b5 commit 179f7f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
fi
done
matrix_prep:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
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,10 +57,10 @@ 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-latest
runs-on: ubuntu-22.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
permissions:
Expand Down
5 changes: 3 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
git+https://github.com/OpenG2P/[email protected]#subdirectory=setup/g2p_registry_base
git+https://github.com/OpenG2P/[email protected]#subdirectory=setup/g2p_registry_individual
git+https://github.com/OpenG2P/[email protected]#subdirectory=fastapi
git+https://github.com/OpenG2P/[email protected]#subdirectory=g2p_registry_base
git+https://github.com/OpenG2P/[email protected]#subdirectory=g2p_registry_individual

0 comments on commit 179f7f4

Please sign in to comment.