Skip to content

Commit

Permalink
try to fix py38 and py39
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyod committed Sep 1, 2024
1 parent 8459031 commit 1c5f970
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[dev,test,lint]
pip install .[dev,test,lint]
pip install cibuildwheel==2.15.0
- name: Run tests and linting
Expand All @@ -46,7 +46,7 @@ jobs:
- name: Build wheels
env:
CIBW_BUILD: cp${{ matrix.python-version == '3.10' && '310' || matrix.python-version == '3.11' && '311' || matrix.python-version == '3.12' && '312' || matrix.python-version }}*
CIBW_BUILD: cp${{ matrix.python-version == '3.8' && '38' || matrix.python-version == '3.9' && '39' || matrix.python-version == '3.10' && '310' || matrix.python-version == '3.11' && '311' || matrix.python-version == '3.12' && '312' }}*
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_SKIP: pp* *-musllinux_* *-manylinux_i686
run: |
Expand Down Expand Up @@ -79,13 +79,13 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-docs-${{ hashFiles('**/pyproject.toml') }}
key: ${{ runner.os }}-pip-docs-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-docs-
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[dev]
pip install .[dev]
sudo apt install pandoc -y
- name: Build docs
run: sphinx-build docs/source _build/html -W
Expand Down

0 comments on commit 1c5f970

Please sign in to comment.