FIxed Codacy warnings. #307
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/I Testing. | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ['3.10', '3.11', '3.12'] | |
django: ['4.2', '5.1'] | |
bootstrap: [3, 4, 5] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies # https://github.com/tox-dev/tox-pyenv/issues/21 | |
run: | | |
python3 -m pip install -U pip wheel tox\<4 tox-pyenv setuptools pysqlite3 --user | |
- name: Test with tox | |
run: | | |
echo Environment used to run the tests | |
echo Kernel version | |
uname -a | |
echo System version | |
lsb_release -a | |
echo Python version | |
python3 --version | |
echo Chrome version | |
google-chrome --version | |
echo Chrome driver version | |
chromedriver --version | |
git clone https://github.com/Dmitri-Sintsov/djk-sample.git | |
cd djk-sample | |
python3 -m tox -r -e py${{ matrix.python }}-django-${{ matrix.django }}-bs${{ matrix.bootstrap }} |