Skip to content

Commit

Permalink
github actions: runs the integration test nightly
Browse files Browse the repository at this point in the history
The secret in github actions won't be passed to
actions triggered by pull request. What's more,
the time consumed is unacceptable. Therefore,
we change integration test to nightly test.

Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
  • Loading branch information
yawqi committed Jun 28, 2022
1 parent 0d81edf commit 6af12ad
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/it.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Nydus Ingegration Test

on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
schedule:
# Run daily sanity check at 23:08 clock UTC
- cron: "8 23 * * *"
# Do conversion every day at 00:03 clock UTC
- cron: "3 0 * * *"
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -112,4 +108,4 @@ jobs:
sudo pytest -vs --durations=0 --pdb functional-test/test_api.py::test_detect_io_hang \
functional-test/test_api.py::test_access_pattern \
functional-test/test_api.py::test_api_mount_with_prefetch \
functional-test/test_api.py::test_daemon_info
functional-test/test_api.py::test_daemon_info

0 comments on commit 6af12ad

Please sign in to comment.