From b0098e5d31715cc9d76f0340004536d3027479e2 Mon Sep 17 00:00:00 2001 From: ARYAN-NIKNEZHAD Date: Mon, 2 Sep 2024 13:49:18 +0430 Subject: [PATCH] :green_heart: chore: Update CI action config yml file --- .github/workflows/ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c0a254..de1a0b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,19 +4,29 @@ on: [push, pull_request] jobs: test: + name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest env: DJANGO_SETTINGS_MODULE: tests.testapp.settings.settings PYTHONPATH: ${{ github.workspace }} - + + strategy: + matrix: + python-version: + - '3.8' + - '3.9' + - '3.10' + - '3.11' + - '3.12' + steps: - uses: actions/checkout@v4 - - name: Set up Python + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: ${{ matrix.python-version }} - name: Install dependencies run: |