Select tests which are both modified and have a specific tag

hi! Is it possible to test unit-tests for modified models only on dbt core version? Like so dbt --warn-error test state:modified+ --state=prod-run-artifact tag:unit-test. I tried with different combinations, but eventually, all tests are executed. Maybe I missed something:)

If you want the intersection of tests tagged with unit-test and those which are modified, you need to use the comma operator:

dbt --warn-error test --select state:modified+,tag:unit-test --state path/to/artifacts