Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace paver command for master branch #421

Merged
merged 8 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
- 3.11
edx_branch:
- master
- open-release/quince.master
- open-release/redwood.master
- open-release/sumac.master
# Add more branches as needed

steps:
Expand All @@ -31,13 +31,13 @@ jobs:

- name: Install tutor
run: |
if [[ "${{ matrix.edx_branch }}" == "open-release/quince.master" ]]; then
pip install tutor==17.0.6
if [[ "${{ matrix.edx_branch }}" == "open-release/redwood.master" ]]; then
pip install tutor==18.2.2
elif [[ "${{ matrix.edx_branch }}" == "master" ]]; then
git clone --branch=main https://github.com/overhangio/tutor.git
pip install -e "./tutor"
else
pip install tutor==18.0.0
pip install tutor==19.0.0
fi

- name: Set up tutor with edx-platform
Expand All @@ -47,7 +47,6 @@ jobs:
cd edx-platform
git checkout ${{ matrix.edx_branch }}
tutor mounts add .
tutor images build openedx-dev
tutor dev launch --non-interactive
tutor dev stop

Expand Down
5 changes: 1 addition & 4 deletions run_devstack_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ pwd
mkdir -p reports

pip install -r ./requirements/edx/testing.txt
pip install -r ./requirements/edx/paver.txt

# Installing edx-platform
pip install -e .

mkdir -p test_root # for edx
paver update_assets lms --settings=test_static_optimized
cp -r /openedx/staticfiles test_root/staticfiles

cp test_root/staticfiles/lms/webpack-stats.json test_root/staticfiles/webpack-stats.json
cd /open-edx-plugins

# Installing test dependencies
Expand Down
Loading