diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c7969db..17634df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,35 @@ on: branches: [ "master" ] jobs: - build: + build_older_than_py310: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10"] + os: + - ubuntu-latest + - macOS-13 + - windows-latest + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Install package + run: | + pip install . + + build_newer_than_py311: + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.12"] os: - ubuntu-latest - macOS-latest @@ -22,7 +46,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies