diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1acf1be..b5667720 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,14 +15,24 @@ jobs: build: name: Build - runs-on: ubuntu-latest + strategy: + fail-fast: false + max-parallel: 3 + matrix: + os: [ ubuntu-latest ] + python-version: [ "3.11" ] + include: + - python-version: "3.8" + os: ubuntu-20.04 + + runs-on: ${matrix.os} steps: - uses: actions/checkout@v2 - - name: Set up Python 3.11 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.8 - name: Install dependencies run: make install diff --git a/README.md b/README.md index 9038f60c..92966cec 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Build](https://github.com/heliumedu/platform/actions/workflows/build.yml/badge.svg)](https://github.com/heliumedu/platform/actions/workflows/build.yml) [![Codecov](https://codecov.io/gh/HeliumEdu/platform/branch/master/graph/badge.svg)](https://codecov.io/gh/HeliumEdu/platform) -![Python Versions](https://img.shields.io/badge/python-%203.6%20|%203.7%20|%203.8%20|%203.9%20|%203.10%20|%203.11%20-blue) +![Python Versions](https://img.shields.io/badge/python-%203.8%20|%203.9%20|%203.10%20|%203.11%20-blue) ![GitHub License](https://img.shields.io/github/license/heliumedu/platform) # Helium Platform Project @@ -9,7 +9,7 @@ ## Prerequisites -- Python (>= 3.6) +- Python (>= 3.8) - Pip (>= 9.0) - MySQL (>= 5.7) - Redis (>= 3.2)