Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! Fix broken tests in GitHub CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
em92 committed Oct 19, 2024
1 parent 044ebb0 commit 5545b11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
sudo apt-get install python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-distutils
sudo update-alternatives --install /usr/bin/python3 python3 `which python${{ matrix.python-version }}` 1
sudo update-alternatives --install /usr/bin/python3-config python3-config `which python${{ matrix.python-version }}-config` 1
- name: Upgrade setuptools for Python 3.12
if: matrix.python-version == '3.12'
run: |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py "setuptools > 69.0"
- name: Install requirements
run: sudo python3 -m pip install -r requirements.txt
run: python3 -m pip install -r requirements.txt
- name: Install requirements for testing
run: sudo python3 -m pip install mockito
run: python3 -m pip install mockito
- name: Run tests
run: python3 -m unittest tests

0 comments on commit 5545b11

Please sign in to comment.