Skip to content

Commit

Permalink
Attempt to fix GH tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Mar 30, 2024
1 parent ee970d7 commit f1c4f57
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,26 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install setuptools wheel auditwheel scikit-build cmake cython pytest pytest-cov
- name: Install package
working-directory: ./FaCT++.Python
run: |
pip install -e .
- name: Build a wheel
run: |
python setup.py bdist_wheel
- name: Audit a wheel
if: runner.os == 'Linux'
run: |
auditwheel repair --plat manylinux_2_27_x86_64 dist/*
- name: Test with pytest
working-directory: ./FaCT++.Python
run: |
Expand Down

0 comments on commit f1c4f57

Please sign in to comment.