Skip to content

Commit

Permalink
Schedule package CI as nightly run (#908)
Browse files Browse the repository at this point in the history
* Make Standalone CI run every night
* update
* rename standalone.yml to package.yml
  • Loading branch information
lidongze0629 committed Oct 27, 2021
1 parent cf00cf3 commit 959cb73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
if [ ! -d "${GS_TEST_DIR}" ]; then
git clone -b master --single-branch --depth=1 https://github.com/7br/gstest.git ${GS_TEST_DIR}
fi
cd python
cd python && python3 setup.py build_proto
python3 -m pytest --ignore=./tests/kubernetes/test_store_service.py \
--cov=graphscope --cov-config=.coveragerc --cov-report=xml \
--cov-report=term --exitfirst -s -vvv --log-cli-level=INFO \
Expand Down
31 changes: 8 additions & 23 deletions .github/workflows/standalone.yml → .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
name: GraphScope standalone CI with pip package

on:
# Trigger the workflow on push or pull request, but only for the main branch
push:
branches:
- main
paths-ignore:
- 'gnn_engine/**'
- '**.md'
- '**.rst'
- 'docs/**'
- 'scripts/**'
- '!scripts/deploy_local.sh'
- 'tutorials/**'
pull_request:
branches:
- main
paths-ignore:
- 'gnn_engine/**'
- '**.md'
- '**.rst'
- 'docs/**'
- 'scripts/**'
- '!scripts/deploy_local.sh'
- 'tutorials/**'
workflow_dispatch:
schedule:
# The notifications for scheduled workflows are sent to the user who
# last modified the cron syntax in the workflow file.
# Trigger the workflow at 03:00(CST) every day.
- cron: '00 19 * * *'

jobs:
build:
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -69,6 +53,7 @@ jobs:
retention-days: 5

test:
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope' }}
runs-on: ${{ matrix.os }}
needs: [build]
strategy:
Expand Down

0 comments on commit 959cb73

Please sign in to comment.