Skip to content

Commit 932cc0e

Browse files
author
Carl Crowder
committed
Fixing up CI config
1 parent ac8a614 commit 932cc0e

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

Diff for: .github/workflows/build.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: [3.6]
16-
toxenv: [django_not_installed, django_is_installed, flake8, pylint, readme]
15+
python-version: [3.7]
16+
toxenv: [django_not_installed, flake8, pylint, readme]
1717

1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v1
21+
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Execute tests
2626
run: |
27-
pip install tox
28-
pip install -e .[for_tests]
27+
pip install -U pip poetry tox
28+
poetry install -E for_tests
2929
3030
export TOXENV=${{ matrix.toxenv }}
3131
export PYTHON=${{ matrix.python-version }}
@@ -44,14 +44,14 @@ jobs:
4444
steps:
4545
- uses: actions/checkout@v2
4646
- name: Set up Python ${{ matrix.python-version }}
47-
uses: actions/setup-python@v1
47+
uses: actions/setup-python@v4
4848
with:
4949
python-version: ${{ matrix.python-version }}
5050

5151
- name: Execute tests
5252
run: |
53-
pip install tox
54-
pip install -e .[for_tests]
53+
pip install -U pip poetry tox
54+
poetry install -E for_tests
5555
5656
export DJANGO=${{ matrix.django-version }}
5757
export PYTHON=${{ matrix.python-version }}
@@ -78,14 +78,14 @@ jobs:
7878
steps:
7979
- uses: actions/checkout@v2
8080
- name: Set up Python ${{ matrix.python-version }}
81-
uses: actions/setup-python@v1
81+
uses: actions/setup-python@v4
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484

8585
- name: Execute tests
8686
run: |
87-
pip install tox
88-
pip install -e .[for_tests]
87+
pip install -U pip poetry tox
88+
poetry install -E for_tests
8989
9090
export DJANGO=${{ matrix.django-version }}
9191
export PYTHON=${{ matrix.python-version }}
@@ -109,13 +109,13 @@ jobs:
109109
steps:
110110
- uses: actions/checkout@v2
111111
- name: Set up Python ${{ matrix.python-version }}
112-
uses: actions/setup-python@v1
112+
uses: actions/setup-python@v4
113113
with:
114114
python-version: ${{ matrix.python-version }}
115115

116116
- name: Build
117117
run: |
118-
pip install tox
119-
pip install -e .[for_tests]
118+
pip install -U pip poetry tox
119+
poetry install -E for_tests
120120
121121
./scripts/build.sh

Diff for: SECURITY.md

-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ In case you have found a security problem with pylint-django *DO NOT* report
1212
it into GitHub Issues. Instead go to
1313
[https://tidelift.com/security](https://tidelift.com/security)
1414
and follow the instructions there.
15-
16-
At least one of the package maintainers ([@atodorov](http://github.com/atodorov))
17-
is a lifter at Tidelift and will be notified when you report the security
18-
problem with them!

Diff for: tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ envlist =
1212

1313
requires =
1414
pip >=21.0.1
15+
poetry
1516
tox
1617

1718
[testenv]

0 commit comments

Comments
 (0)