From a2c196109d2c457826902960ca7be1516659f530 Mon Sep 17 00:00:00 2001 From: Luis Felipe Castano Date: Fri, 26 Jul 2024 16:21:51 -0500 Subject: [PATCH] perf: quality changes --- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 9 ++++++++- requirements/constraints.txt | 5 +++-- setup.py | 3 +++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 68403ea..e786346 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: strategy: max-parallel: 2 matrix: - python-version: ["3.8"] + python-version: ["3.8", "3.10", "3.11"] django: ["32", "42"] steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index d9b07c7..e911635 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v6.3.0](https://github.com/eduNEXT/eox-hooks/compare/v6.2.0...v6.3.0) - (2024-07-24) +### Added + +- **Integration Tests**: A new GitHub workflow has been added to run + integration tests. These tests validate backend imports and ensure the + `/eox-info` endpoint functions correctly. + ### Changed - **Redwood Support**: Upgrade requirements base on edx-platform redwood - release, support for integration tests in the redwood environment is added + release update GitHub workflows with new Python (3.10 and 3.11) and actions + version, and update integration test to use new redwood release with Tutor. ## v6.2.0 - 2024-05-24 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index a9fb082..67903a9 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -9,9 +9,10 @@ # linking to it here is good. -# Keep same platform version +# Common constraints for Open edX repos +-c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt + celery>=5.2.2,<6.0.0 djangorestframework<=3.14.0 -Django<5.0 openedx-events<=9.0.0 pytz<=2022.7.1 diff --git a/setup.py b/setup.py index 03af00a..0caa4dd 100644 --- a/setup.py +++ b/setup.py @@ -75,12 +75,15 @@ def get_version(*file_paths): 'Development Status :: 5 - Production/Stable', 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], packages=[ 'eox_hooks',