name: Test Python Wheels for macOS
runs:
using: composite
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Download Python Wheels
uses: actions/download-artifact@v4
with:
name: python-wheels-macos
path: ./wheels
- name: Create virtual environment
working-directory: ./wrappers/python
shell: bash
run: |
python -m venv venv python
source venv/bin/activate
- name: Install wheel
working-directory: ./wheels
shell: bash
run: pip install --no-index --find-links="./" devolutions_crypto -vvv
- name: Run tests
working-directory: ./wrappers/python
shell: bash
run: python -m unittest tests/*.py