From b51201beb67577ded4bdac3d6c6f55df0781bba2 Mon Sep 17 00:00:00 2001 From: Aarif Date: Wed, 6 Oct 2021 17:46:57 +0500 Subject: [PATCH] fix: updated the migrations workflow to run on ubuntu 18 so we can run migrations against mysql 5.7 (#28935) --- .github/workflows/migrations-check.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/migrations-check.yml b/.github/workflows/migrations-check.yml index d1dc1a74be..1b103f9efe 100644 --- a/.github/workflows/migrations-check.yml +++ b/.github/workflows/migrations-check.yml @@ -8,12 +8,12 @@ on: - master jobs: - run_tests: - name: Migrations Test + check_migrations: + name: check migrations runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04 ] + os: [ ubuntu-18.04 ] python-version: [ 3.8 ] steps: @@ -25,7 +25,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install Required Packages + - name: Install system Packages run: | sudo apt-get update sudo apt-get install -y libxmlsec1-dev @@ -47,6 +47,10 @@ jobs: run: | pip install -r requirements/pip.txt pip install -r requirements/edx/development.txt + pip uninstall -y mysqlclient + pip install --no-binary mysqlclient mysqlclient + pip uninstall -y xmlsec + pip install --no-binary xmlsec xmlsec - name: Initiate Services run: |