Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to scikit-build-core build system #107

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 9 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,21 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.9'
repo-token: ${{secrets.GITHUB_TOKEN}}

- name: Check out dependencies
run : |
git clone https://github.com/Dialpuri/privateer_dependencies.git

- name: Source Environment
run: source ccp4.envsetup-sh

- name: Load python environment
run : pip install -r requirements.txt

- name: Setup cmake
uses: jwlawson/[email protected]

- name: Build
run : |
pwd
export CLIBD=privateer_dependencies/lib/data

python setup_test.py install

pip install .

- name: Python Tests
run : |
export LD_LIBRARY_PATH=privateer_dependencies/lib
export CLIBD_MON=privateer_dependencies/lib/data/monomers/
pytest tests/test_glycosylation_interaction.py -m fast
4 changes: 4 additions & 0 deletions .pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pytest]
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
fast: marks test as fast
Loading
Loading