From 4d1d9b329821bfe9461af6695e7714ecb20ec46b Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Mon, 9 Oct 2023 13:17:35 +0500 Subject: [PATCH] build: add pkg-config dependency --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00aa1e25..d615587b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,12 @@ jobs: - name: Start container run: | docker-compose -f .travis/docker-compose-travis.yml up -d + - name: Install system packages + run: | + apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config - name: Install Dependencies run: | - docker exec -e TOXENV=${{ matrix.python-version }}-${{ matrix.django-version }} --env DB_HOST=${{ matrix.db-version }} -u root edx_notes_api /bin/bash -c "pip install -r requirements/travis.txt" + pip install -r requirements/travis.txt - name: Run Tests run: | docker exec -e TOXENV=${{ matrix.python-version }}-${{ matrix.django-version }} --env DB_HOST=${{ matrix.db-version }} -u root edx_notes_api /edx/app/edx_notes_api/edx_notes_api/.travis/run_tests.sh