support Python3.10 over & Django4.2 #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
# push と pull request イベント毎にGtihubのWorkflowを起動する | |
on: | |
- push | |
- pull_request | |
jobs: | |
# ジョブの名称 | |
test_with_tox: | |
name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }}) | |
runs-on: ubuntu-latest | |
# 並列して実行する各ジョブのPythonバージョン | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11', '3.12'] | |
django-version: ['3.2', '4.2'] | |
steps: | |
# ソースコードをチェックアウト | |
- uses: actions/checkout@v4 | |
# ジョブのPython環境を設定 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Github Actionsからtoxを実行するために必要なパッケージをインストール | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox tox-gh-actions | |
# Github Actionsからtoxを実行 | |
- name: Test with tox | |
run: | | |
tox -v | |
env: | |
DJANGO: ${{ matrix.django-version }} |