diff --git a/.github/workflows/options-tests-with-docker-build.yml b/.github/workflows/options-tests-with-docker-build.yml index fdabb93..d3f0a8c 100644 --- a/.github/workflows/options-tests-with-docker-build.yml +++ b/.github/workflows/options-tests-with-docker-build.yml @@ -2,7 +2,7 @@ name: Options tests with build rest:dev on: schedule: - - cron: "05 04 * * *" + - cron: "05 09 * * 1" push: jobs: @@ -69,3 +69,23 @@ jobs: with: name: Results path: "./tests/results" + + - name: Notify slack tests succeded + if: success() + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} + uses: voxmedia/github-action-slack-notify-build@v1 + with: + channel_id: C03E3JJGLQL + status: SUCCESS + color: good + + - name: Notify slack tests failed + if: failure() + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} + uses: voxmedia/github-action-slack-notify-build@v1 + with: + channel_id: C03E3JJGLQL + status: FAILED + color: danger diff --git a/.github/workflows/rest-api-tests-with-ghcr-rest-dev.yml b/.github/workflows/rest-api-tests-with-ghcr-rest-dev.yml index d51fcfc..6464e6b 100644 --- a/.github/workflows/rest-api-tests-with-ghcr-rest-dev.yml +++ b/.github/workflows/rest-api-tests-with-ghcr-rest-dev.yml @@ -2,7 +2,7 @@ name: Rest-api tests - ghcr.io/verapdf/rest:dev on: schedule: - - cron: "05 04 * * *" + - cron: "05 09 * * 1" push: jobs: @@ -44,3 +44,23 @@ jobs: with: name: Results path: "./results" + + - name: Notify slack tests succeded + if: success() + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} + uses: voxmedia/github-action-slack-notify-build@v1 + with: + channel_id: C03E3JJGLQL + status: SUCCESS + color: good + + - name: Notify slack tests failed + if: failure() + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} + uses: voxmedia/github-action-slack-notify-build@v1 + with: + channel_id: C03E3JJGLQL + status: FAILED + color: danger \ No newline at end of file diff --git a/tests/rest_api/tests/base_test.py b/tests/rest_api/tests/base_test.py index 8080862..c5491f2 100644 --- a/tests/rest_api/tests/base_test.py +++ b/tests/rest_api/tests/base_test.py @@ -24,7 +24,7 @@ class BaseClass: ("4e", "PDFA_4_E", "PDF/A-4E validation profile", 108, ("6.1.6.2", 1)), ("4f", "PDFA_4_F", "PDF/A-4F validation profile", 108, ("6.2.4.2", 3)), ("ua1", "PDFUA_1", "PDF/UA-1 validation profile", 104, ("7.18.8", 1)), - ("ua2", "PDFUA_2", "PDF/UA-2 validation profile", 90, ("5", 5)), + ("ua2", "PDFUA_2", "PDF/UA-2 validation profile", 91, ("5", 5)), ) FLAVOURS_LIST = sorted(