Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed May 21, 2024
1 parent 0b27788 commit ec19483
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ jobs:
# mongo-version: "4.4"

steps:
- name: install system requirements
run: |
sudo apt-get update && \
sudo apt remove 'python-*' -y && \
sudo apt-get install --yes \
build-essential git language-pack-en libmysqlclient-dev libssl-dev libxml2-dev \
libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-dev python3-pip python3-venv \
&& sudo rm -rf /var/lib/apt/lists/*
- name: install mongo version
run: |
if [[ "${{ matrix.mongo-version }}" != "4.4" ]]; then
Expand All @@ -89,6 +80,9 @@ jobs:

- name: install requirements
run: |
sudo apt-get remove python3-blinker python3-commandnotfound python3-entrypoints
python3-pexpect python3-pyasn1-modules
python3-systemd -y
sudo make test-requirements
if [[ "${{ matrix.django-version }}" != "pinned" ]]; then
sudo pip install "django~=${{ matrix.django-version }}.0"
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/verify-gha-unit-tests-count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ jobs:
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
runs-on: ubuntu-20.04
steps:
- name: install system requirements
run: |
sudo apt-get update && \
sudo apt remove 'python-*' -y && \
sudo apt-get install --yes \
build-essential git language-pack-en libmysqlclient-dev libssl-dev libxml2-dev \
libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-dev python3-pip python3-venv \
&& sudo rm -rf /var/lib/apt/lists/*
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand All @@ -28,6 +19,9 @@ jobs:
- uses: actions/checkout@v2
- name: install requirements
run: |
sudo apt-get remove python3-blinker python3-commandnotfound python3-entrypoints
python3-pexpect python3-pyasn1-modules
python3-systemd -y
sudo make test-requirements
- name: verify unit tests count
Expand Down

0 comments on commit ec19483

Please sign in to comment.