Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Tests are run twice when "test" is included in test-paths #24

Open
@oli-d-ovo

Description

With the following dev profile in project.clj:

  :profiles {:dev {:test-paths ["test" "it"]
                   :dependencies [[circleci/circleci.test "0.4.1"]]}}

All tests are run twice using the circle ci plugin. The test alias is setup like so:

"test" ["run" "-m" "circleci.test/dir" :project/test-paths]

After some experimentation, the "test" folder is picked up by leiningen even if it isn't included in the profile. However, running lein test without the plugin will only ever run the test suite once, even with "test" included in test-paths. When the circle ci plugin is enabled and configured above, tests will run twice.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions