Test Simple #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Simple | |
on: [workflow_dispatch] | |
jobs: | |
build_and_test: | |
name: "${{ matrix.os }} + python ${{ matrix.python-version }}" | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows-latest", "ubuntu-latest", "macos-13"] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install "setuptools>=67.2.0" | |
pip install wheel build | |
- name: Test build from source | |
run: | | |
python -m build --wheel | |
- name: Test direct install from GitHub main | |
run: | | |
pip install git+https://github.com/rathaROG/lapx.git | |
- name: Run test_simple.py | |
run: | | |
cd .githubtest | |
python test_simple.py | |
- name: Archive wheels | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-wheels | |
path: | | |
dist/*.whl |