Skip to content

Commit

Permalink
Fixing up CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-tstpd committed May 15, 2023
1 parent ac8a614 commit 932cc0e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6]
toxenv: [django_not_installed, django_is_installed, flake8, pylint, readme]
python-version: [3.7]
toxenv: [django_not_installed, flake8, pylint, readme]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Execute tests
run: |
pip install tox
pip install -e .[for_tests]
pip install -U pip poetry tox
poetry install -E for_tests
export TOXENV=${{ matrix.toxenv }}
export PYTHON=${{ matrix.python-version }}
Expand All @@ -44,14 +44,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Execute tests
run: |
pip install tox
pip install -e .[for_tests]
pip install -U pip poetry tox
poetry install -E for_tests
export DJANGO=${{ matrix.django-version }}
export PYTHON=${{ matrix.python-version }}
Expand All @@ -78,14 +78,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Execute tests
run: |
pip install tox
pip install -e .[for_tests]
pip install -U pip poetry tox
poetry install -E for_tests
export DJANGO=${{ matrix.django-version }}
export PYTHON=${{ matrix.python-version }}
Expand All @@ -109,13 +109,13 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Build
run: |
pip install tox
pip install -e .[for_tests]
pip install -U pip poetry tox
poetry install -E for_tests
./scripts/build.sh
4 changes: 0 additions & 4 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ In case you have found a security problem with pylint-django *DO NOT* report
it into GitHub Issues. Instead go to
[https://tidelift.com/security](https://tidelift.com/security)
and follow the instructions there.

At least one of the package maintainers ([@atodorov](http://github.com/atodorov))
is a lifter at Tidelift and will be notified when you report the security
problem with them!
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ envlist =

requires =
pip >=21.0.1
poetry
tox

[testenv]
Expand Down

0 comments on commit 932cc0e

Please sign in to comment.