-
Notifications
You must be signed in to change notification settings - Fork 29
39 lines (35 loc) · 1.1 KB
/
ci-testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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.0']
bootstrap: [3, 4, 5]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
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 }}