Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use one GitHub runner per Python version#1011

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
n2ygk merged 2 commits intodjango-json-api:masterfromsliverc:tox-py
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions.github/workflows/tests.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,17 +5,12 @@ jobs:
test:
name: Run test
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.django-rest-framework == 'master' }}
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
django: ["2.2", "3.0", "3.1", "3.2"]
django-rest-framework: ["3.12", "master"]
env:
PYTHON: ${{ matrix.python-version }}
DJANGO: ${{ matrix.django }}
DJANGO_REST_FRAMEWORK: ${{ matrix.django-rest-framework }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All@@ -25,13 +20,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name:Test withtox
run: tox
pip install tox tox-py
- name:Runtox targets for ${{ matrix.python-version }}
run: tox --py current
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
env_vars: PYTHON,DJANGO,DJANGO_REST_FRAMEWORK
env_vars: PYTHON
check:
name: Run check
runs-on: ubuntu-latest
Expand Down
21 changes: 3 additions & 18 deletionstox.ini
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,24 +3,6 @@ envlist =
py{36,37,38,39}-django{22,30,31,32}-drf{312,master},
lint,docs

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39

[gh-actions:env]
DJANGO =
2.2: django22
3.0: django30
3.1: django31
3.2: django32

DJANGO_REST_FRAMEWORK =
3.12: drf312
master: drfmaster

[testenv]
deps =
django22: Django>=2.2,<2.3
Expand DownExpand Up@@ -61,3 +43,6 @@ deps =
-rrequirements/requirements-documentation.txt
commands =
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html

[testenv:py{36,37,38,39}-django{22,30,31,32}-drfmaster]
ignore_outcome = true

[8]ページ先頭

©2009-2025 Movatter.jp