Mercurial > p > roundup > code
comparison .github/workflows/ci-test.yml @ 7415:f636c3c5333e
Move setuptools install location and print version
Install setuptools before priting version of key libraries and include
setuptools.
Packages that can use setuptools will find it missing, so install
before any pip gets run.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 May 2023 17:16:46 -0400 |
| parents | 7a4b84ddf8a5 |
| children | 6b332e3d7c43 |
comparison
equal
deleted
inserted
replaced
| 7414:7a4b84ddf8a5 | 7415:f636c3c5333e |
|---|---|
| 98 with: | 98 with: |
| 99 python-version: ${{ matrix.python-version }} | 99 python-version: ${{ matrix.python-version }} |
| 100 allow-prereleases: true | 100 allow-prereleases: true |
| 101 cache: 'pip' | 101 cache: 'pip' |
| 102 | 102 |
| 103 - name: Install build tools - setuptools | |
| 104 run: pip install setuptools | |
| 105 | |
| 103 # Display the Python version being used | 106 # Display the Python version being used |
| 104 - name: Display Python and key module versions | 107 - name: Display Python and key module versions |
| 105 run: | | 108 run: | |
| 106 python -c "import sys; print('python version: ', sys.version)" | 109 python -c "import sys; print('python version: ', sys.version)" |
| 107 python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)" | 110 python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)" |
| 111 python -c "import setuptools; print('setuptools version: ', setuptools.__version__);" | |
| 108 | 112 |
| 109 # Install the databases | 113 # Install the databases |
| 110 - name: Install mysql/mariadb | 114 - name: Install mysql/mariadb |
| 111 run: | | 115 run: | |
| 112 #set -xv | 116 #set -xv |
| 188 case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac | 192 case "$PYTHON_VERSION" in nightly|3.12*) echo skipping xapian build;; *) make && sudo make install; esac |
| 189 | 193 |
| 190 - name: Install pytest and other packages needed for running tests | 194 - name: Install pytest and other packages needed for running tests |
| 191 run: pip install flake8 mock pytest pytest-cov requests | 195 run: pip install flake8 mock pytest pytest-cov requests |
| 192 | 196 |
| 193 - name: Install build tools - setuptools | |
| 194 run: pip install setuptools | |
| 195 | |
| 196 - name: Test build roundup and install locale so lang tests work. | 197 - name: Test build roundup and install locale so lang tests work. |
| 197 run: | | 198 run: | |
| 198 sudo apt-get install gettext | 199 sudo apt-get install gettext |
| 199 python setup.py build | 200 python setup.py build |
| 200 (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES) | 201 (cd locale; make local_install; ls -lR locale/de/LC_MESSAGES) |
