Skip to content

Commit

Permalink
[FIX] Tests not valid por P3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza authored and josep-tecnativa committed Nov 10, 2023
1 parent 4f5edff commit cbba39a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,6 @@ jobs:
odoo_version: ["17.0"]
pg_version: ["15"]
python_version: ["3.10"]
include:
# Older odoo versions don't support latest postgres and Python versions
- odoo_version: "16.0"
pg_version: "14"
python_version: "3.10"
- odoo_version: "15.0"
pg_version: "14"
python_version: "3.9"
- odoo_version: "14.0"
pg_version: "14"
python_version: "3.9"
- odoo_version: "13.0"
pg_version: "14"
python_version: "3.9"
env:
# Indicates what's the equivalent to tecnativa/doodba:latest image
LATEST_RELEASE: "17.0"
Expand All @@ -68,6 +54,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: DF
run: df -h
# Install dev and test dependencies
- run: pip install poetry
- name: Patch $PATH
Expand Down
2 changes: 0 additions & 2 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ def test_dotd(self):
'test "$(hello-world)" == "this is executable hello-world"',
),
("python", "-xc", "import Crypto; print(Crypto.__version__)"),
("sh", "-xc", "rst2html.py --version | grep 'Docutils 0.14'"),
# ``requirements.txt`` from addon repos were processed
("python", "-c", "import numpy"),
# Local executable binaries found in $PATH
Expand Down Expand Up @@ -433,7 +432,6 @@ def test_dependencies(self):
# 200-pip-without-ext
("test", "-f", "custom/dependencies/200-pip-without-ext"),
("python", "-c", "import Crypto; print(Crypto.__version__)"),
("sh", "-xc", "rst2html.py --version | grep 'Docutils 0.14'"),
# 270-gem.txt
("test", "-f", "custom/dependencies/270-gem.txt"),
("hello-world",),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Compiled locally, which would fail if `apt_build.txt` fails
pycrypto==2.6.1 --no-binary :all:
# Odoo pins docutils==0.12, so let's check it gets upgraded
docutils==0.14
2 changes: 0 additions & 2 deletions tests/scaffoldings/dotd/custom/dependencies/pip.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Compiled locally, which would fail if `apt_build.txt` fails
pycrypto==2.6.1 --no-binary :all:
# Odoo pins docutils==0.12, so let's check it gets upgraded
docutils==0.14
# External dependency files can be included too; example: numpy
-r https://raw.githubusercontent.com/Tecnativa/doodba/6cec8ea6eefa9d8de8cff103cfca6e373f8fe910/tests/scaffoldings/dotd/custom/src/dummy_repo/requirements.txt

0 comments on commit cbba39a

Please sign in to comment.