Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Sulla committed Jun 4, 2024
2 parents 3e56a38 + dd2687b commit 730ade8
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/build_primary_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,41 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
build:
name: Build pure py

build_pure_py:
name: Build and test pure py wheels
runs-on: ubuntu-latest
strategy:
matrix:
include:
- tag: py311
version: 3.11
- tag: py312
version: 3.12

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ">=3.6"
python-version: "${{ matrix.version }}"

- name: Install dependencies
run: pip install -U pip setuptools wheel pytest

- name: Build module
run: FROZENDICT_PURE_PY=1 python setup.py bdist_wheel

- name: Change tag to wheel
run: python -m wheel tags --python-tag=${{ matrix.tag }} --remove dist/*

- name: Install module
run: FROZENDICT_PURE_PY=1 python setup.py install
run: pip install dist/*

- name: Test with pytest
run: pytest

- uses: actions/upload-artifact@v3
with:
path: ./dist/*

0 comments on commit 730ade8

Please sign in to comment.