Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[update] Update github action #277

Merged
merged 28 commits into from Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -8,4 +8,4 @@ Please offer the steps to reproduce your problem/bug

# Error log

Please provide error message or screen shot for better understanding.
Please provide error message or screen shot for better understanding.
6 changes: 3 additions & 3 deletions .github/workflows/builds.yml
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
python-version: ["3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11.3"]

steps:
- uses: actions/checkout@v2
Expand All @@ -26,4 +26,4 @@ jobs:
TOXENV: build
run: |
pip install -U tox
tox
tox
8 changes: 4 additions & 4 deletions .github/workflows/checks.yml
Expand Up @@ -6,12 +6,12 @@ on:

jobs:
checks:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
env: [security, flake8, pylint]
python-version: ["3.11.3"]
env: [security, flake8]

steps:
- uses: actions/checkout@v2
Expand All @@ -26,4 +26,4 @@ jobs:
TOXENV: ${{ matrix.env }}
run: |
pip install -U tox
tox
tox
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
tests:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.11.3"]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions pylintrc
Expand Up @@ -2,7 +2,7 @@
persistent=no
jobs=1 # >1 hides results
suggestion-mode=yes # guess common misconfiguration and emit user-friendly hints
py-version = 3.7.0
py-version = 3.11.3

[MESSAGES CONTROL]
disable=abstract-method,
Expand Down Expand Up @@ -122,4 +122,4 @@ disable=abstract-method,
useless-super-delegation,
wildcard-import,
wrong-import-order,
wrong-import-position
wrong-import-position
5 changes: 3 additions & 2 deletions tox.ini
Expand Up @@ -60,9 +60,10 @@ deps =
{[testenv]deps}
scrapy==2.6.1
redis==4.2.2
commands =
allowlist_externals = sudo
commands =
sudo apt-get update
sudo apt-get install redis
sudo apt-get install -y redis
sudo systemctl start redis-server
pip install .
python -m pytest --cov-report term --cov=scrapy_redis
Expand Down