Skip to content

Commit

Permalink
Update test workflows schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Feb 5, 2024
1 parent bb1f33f commit 2a4d6cc
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/options-tests-with-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Options tests with build rest:dev

on:
schedule:
- cron: "05 04 * * *"
- cron: "05 09 * * 1"
push:

jobs:
Expand Down Expand Up @@ -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
22 changes: 21 additions & 1 deletion .github/workflows/rest-api-tests-with-ghcr-rest-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Rest-api tests - ghcr.io/verapdf/rest:dev

on:
schedule:
- cron: "05 04 * * *"
- cron: "05 09 * * 1"
push:

jobs:
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/rest_api/tests/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2a4d6cc

Please sign in to comment.