diff --git a/.circleci/config.yml b/.circleci/config.yml index acf55056..f8a73a67 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,8 +35,14 @@ jobs: name: Running tests and getting code coverage command: cat /tmp/tests-to-run | xargs -I % npm run test -w % - run: - name: Running data access integration tests - command: npm run test:it -w packages/spacecat-shared-data-access + name: Running integration tests + command: | + if grep -q "packages/spacecat-shared-data-access" /tmp/tests-to-run; then + echo "Running integration tests for spacecat-shared-data-access" + npm run test:it -w packages/spacecat-shared-data-access + else + echo "Skipping integration tests" + fi - codecov/upload - run: name: Copy test results