Skip to content

Commit

Permalink
Merge pull request #560 from celm1990/master-fix-ci-py
Browse files Browse the repository at this point in the history
[IMP] use PY 3.9 for avoid issue at install poetry
  • Loading branch information
pedrobaeza authored Nov 5, 2023
2 parents f83cf41 + 8191fab commit 95c69ac
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
- name: Set PY
run:
echo "PY=$(python -c 'import hashlib,
Expand All @@ -27,7 +29,7 @@ jobs:
- uses: pre-commit/[email protected]

build-test-push:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: pre-commit
strategy:
fail-fast: false
Expand All @@ -42,8 +44,10 @@ jobs:
include:
# Older odoo versions don't support latest postgres because of the adapter
- pg_version: "13"
odoo_version: "12.0"
odoo_version: "13.0"
- pg_version: "13"
odoo_version: "12.0"
- pg_version: "12"
odoo_version: "11.0"
env:
# Indicates what's the equivalent to tecnativa/doodba:latest image
Expand All @@ -59,6 +63,8 @@ jobs:
# Prepare
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
# Install dev and test dependencies
- run: pip install poetry
- name: Patch $PATH
Expand Down

0 comments on commit 95c69ac

Please sign in to comment.