Skip to content

Commit

Permalink
Clean up now-unused CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jan 2, 2024
1 parent 6ddad70 commit 195bf66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[dev]
python -m pip install -e .[dev]
- name: Pytest
run: |
pytest tests/ --cov
pytest tests/ --cov=pytorch_finufft
lint:
Expand Down
32 changes: 1 addition & 31 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,9 @@ pipeline {
}
environment {
HOME = "$WORKSPACE"
// LIBRARY_PATH = "$WORKSPACE/finufft/build"
// LD_LIBRARY_PATH = "$WORKSPACE/finufft/build"
}
steps {

// checkout scmGit(branches: [[name: '*/master']],
// extensions: [cloneOption(noTags: true, reference: '', shallow: true),
// [$class: 'RelativeTargetDirectory', relativeTargetDir: 'finufft'],
// cleanAfterCheckout()],
// userRemoteConfigs: [[url: 'https://github.com/flatironinstitute/finufft']])

// sh '''#!/bin/bash -ex
// nvidia-smi
// '''
// sh '''#!/bin/bash -ex
// echo $HOME
// ls
// '''
// sh label: "build CUFINUFFT", script: '''#!/bin/bash -ex
// cd finufft
// # v100 cuda arch
// cuda_arch="70"
// mkdir build
// cd build
// cmake .. -DFINUFFT_USE_CUDA=ON \
// -DFINUFFT_USE_CPU=OFF \
// -DFINUFFT_BUILD_TESTS=OFF \
// -DCMAKE_CUDA_ARCHITECTURES="$cuda_arch" \
// -DBUILD_TESTING=OFF \
// -DCMAKE_BUILD_TYPE=RelWithDebInfo
// cmake --build . -j 4
// '''

sh 'python3 -m venv $HOME'
sh label: "set up virtual environment", script: '''#!/bin/bash -ex
source $HOME/bin/activate
Expand All @@ -60,7 +30,7 @@ pipeline {
'''
sh label: "run tests", script: '''#!/bin/bash -ex
source $HOME/bin/activate
python3 -m pytest -k "cuda" tests/ --cov -v --error-for-skips
python3 -m pytest -k "cuda" tests/ --cov=pytorch_finufft -v --error-for-skips
'''
}
}
Expand Down
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,3 @@ norecursedirs = [
".git",
"__pycache__",
]

[tool.coverage.run]
source = ["tests"]

[coverage.paths]
source = "pytorch_finufft"

[coverage.run]
branch = true

0 comments on commit 195bf66

Please sign in to comment.