Hi :wave: I’d like to validate Meltano config in o...
# troubleshooting
f
Hi 👋 I’d like to validate Meltano config in our CI. However, when running
meltano test --all
(or even when specifying an individual tap like
meltano test tap_postgres
), I get 0 tests running. The behavior I’m looking for is to at least validate the configuration, at best try to fetch 1 line per stream per tap and check if that works fine. Any idea why
meltano test
doesn’t do anything? (
meltano 3.1.0
)
e
Hi @florian_ernst! It's unfortunately not well documented, but
meltano test
expects there to be a
test
command: https://gitlab.com/meltano/meltano/-/merge_requests/2442#note_744398471
Copy code
plugins:
  extractors:
  - name: tap-mytap
    commands:
      about:
        args: --about --format=json
      test:
        args: --test
You can also use
meltano config tap-postgres test
to test configuration for your tap.