Skip to content

Commit

Permalink
Change path?
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Feb 13, 2025
1 parent f6e4560 commit c0f141d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
default: "3.12"
machine:
image: ubuntu-2404:2024.08.1
working_directory: /home/circleci/src/CuBIDS
working_directory: /src/CuBIDS
steps:
- checkout:
path: /home/circleci/src/CuBIDS
path: /src/CuBIDS

- run:
name: Test CuBIDS
Expand Down Expand Up @@ -42,10 +42,10 @@ jobs:
--cov-report term-missing \
--cov=cubids \
cubids
mkdir /home/circleci/src/coverage
mv /home/circleci/src/CuBIDS/.coverage /home/circleci/src/coverage/.coverage.<< parameters.python_version >>
mkdir /src/coverage
mv /src/CuBIDS/.coverage /src/coverage/.coverage.<< parameters.python_version >>
- persist_to_workspace:
root: /home/circleci/src/coverage
root: /src/coverage
paths:
- .coverage.<< parameters.python_version >>

Expand All @@ -54,9 +54,9 @@ jobs:
- image: continuumio/miniconda3
steps:
- checkout:
path: /home/circleci/src/CuBIDS
path: /src/CuBIDS
- attach_workspace:
at: /home/circleci/src/coverage
at: /src/coverage
- run:
name: Merge coverage files
command: |
Expand All @@ -68,13 +68,13 @@ jobs:
apt-get install -y -qq curl
apt-get install -y gnupg
cd /home/circleci/src/coverage
cd /src/coverage
coverage combine
coverage xml
- store_artifacts:
path: /home/circleci/src/coverage
path: /src/coverage
- codecov/upload:
file: /home/circleci/src/coverage/coverage.xml
file: /src/coverage/coverage.xml

deployable:
docker:
Expand All @@ -85,10 +85,10 @@ jobs:
deploy_pypi:
machine:
image: ubuntu-2404:2024.08.1
working_directory: /home/circleci/src/CuBIDS
working_directory: /src/CuBIDS
steps:
- checkout:
path: /home/circleci/src/CuBIDS
path: /src/CuBIDS
- run:
name: Update build tools
command: pip install --upgrade build twine
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ tests = [
"pep8-naming",
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"tomli",
]
maint = [
Expand Down

0 comments on commit c0f141d

Please sign in to comment.