浏览代码

fix workflow module

VladSenyuta 2 年之前
父节点
当前提交
ed68a3f098
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      .github/workflows/e2e-checks.yaml
  2. 2 2
      kafka-ui-e2e-checks/README.md

+ 2 - 2
.github/workflows/e2e-checks.yaml

@@ -1,7 +1,7 @@
 name: E2E tests
 on:
   pull_request_target:
-    types: ["opened", "edited", "reopened", "synchronize"]
+    types: [ "opened", "edited", "reopened", "synchronize" ]
     paths:
       - "kafka-ui-api/**"
       - "kafka-ui-contract/**"
@@ -42,7 +42,7 @@ jobs:
       - name: e2e run
         run: |
           ./mvnw -B -ntp versions:set -DnewVersion=${{ github.event.pull_request.head.sha }}
-          ./mvnw -B -V -ntp -DQASEIO_API_TOKEN=${{ secrets.QASEIO_API_TOKEN }} -pl 'kafka-ui-e2e-checks' test -Dsurefire.suiteXmlFiles='src/test/resources/smoke.xml' -Pprod
+          ./mvnw -B -V -ntp -DQASEIO_API_TOKEN=${{ secrets.QASEIO_API_TOKEN }} -pl '!kafka-ui-api' test -Dsurefire.suiteXmlFiles='src/test/resources/smoke.xml' -Pprod
       - name: Generate allure report
         uses: simple-elf/allure-report-action@master
         if: always()

+ 2 - 2
kafka-ui-e2e-checks/README.md

@@ -41,13 +41,13 @@ docker-compose -f documentation/compose/e2e-tests.yaml up -d
 2. Run Smoke test suite using your QaseIO API token as environment variable (put instead %s into command below)
 
 ```
-./mvnw -DQASEIO_API_TOKEN='%s' -pl 'kafka-ui-e2e-checks' test -Dsurefire.suiteXmlFiles='src/test/resources/smoke.xml' -Pprod
+./mvnw -DQASEIO_API_TOKEN='%s' -pl '!kafka-ui-api' test -Dsurefire.suiteXmlFiles='src/test/resources/smoke.xml' -Pprod
 ```
 
 3. Run Regression test suite using your QaseIO API token as environment variable (put instead %s into command below)
 
 ```
-./mvnw -DQASEIO_API_TOKEN='%s' -pl 'kafka-ui-e2e-checks' test -Dsurefire.suiteXmlFiles='src/test/resources/regression.xml' -Pprod
+./mvnw -DQASEIO_API_TOKEN='%s' -pl '!kafka-ui-api' test -Dsurefire.suiteXmlFiles='src/test/resources/regression.xml' -Pprod
 ```
 
 4. To run tests on your local Chrome browser just add next VM option to the Run Configuration