Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Jan 9, 2025
1 parent 551fb99 commit 5cefb7f
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 16 deletions.
File renamed without changes.
60 changes: 60 additions & 0 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: "cache"

on:
push:
branches:
- 'main'
- 'release-**'
paths:
- '**/cache.yml'
- '**/cache.sh'
pull_request:
branches:
- 'main'
- 'release-**'
paths:
- '**/cache.yml'
- '**/cache.sh'
schedule:
- cron: '30 20 * * *'
workflow_dispatch:

jobs:
ltpfs:
timeout-minutes: 60
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: mount coverage dir
timeout-minutes: 5
uses: ./.github/actions/mount-coverage-dir
with:
mount_point: cover
access_key: ${{ secrets.CI_COVERAGE_AWS_AK }}
secret_key: ${{ secrets.CI_COVERAGE_AWS_SK }}
token: ${{ secrets.CI_COVERAGE_AWS_TOKEN }}

- name: Build
timeout-minutes: 10
uses: ./.github/actions/build

- name: Test
run: |
sudo GOCOVERDIR=$(pwd)/cover .github/scripts/cache.sh
- name: upload coverage report
timeout-minutes: 5
uses: ./.github/actions/upload-coverage
with:
UPLOAD_TOKEN: ${{ secrets.CI_COVERAGE_FILE_UPLOAD_AUTH_TOKEN }}

- name: Send Slack Notification
if: failure()
uses: juicedata/slack-notify-action@main
with:
channel-id: "${{ secrets.SLACK_CHANNEL_ID_FOR_PR_CHECK_NOTIFY }}"
slack_bot_token: "${{ secrets.SLACK_BOT_TOKEN }}"
32 changes: 16 additions & 16 deletions .github/workflows/command.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: "command-test"

on:
push:
branches:
- 'main'
- 'release-**'
paths:
- '.github/scripts/command/*.sh'
- '**/command.yml'
pull_request:
branches:
- 'main'
- 'release-**'
paths:
- '.github/scripts/command/*.sh'
- '**/command.yml'
schedule:
- cron: '30 20 * * *'
# push:
# branches:
# - 'main'
# - 'release-**'
# paths:
# - '.github/scripts/command/*.sh'
# - '**/command.yml'
# pull_request:
# branches:
# - 'main'
# - 'release-**'
# paths:
# - '.github/scripts/command/*.sh'
# - '**/command.yml'
# schedule:
# - cron: '30 20 * * *'

workflow_dispatch:
inputs:
Expand Down

0 comments on commit 5cefb7f

Please sign in to comment.