Skip to content

Commit

Permalink
sleep added;
Browse files Browse the repository at this point in the history
  • Loading branch information
Muneeb147 committed Oct 24, 2024
1 parent 350a8fa commit 152b89f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Simulate Processing Delay
run: sleep 5
- name: Build Application
run: echo "Building the application"

2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Simulate Processing Delay
run: sleep 10
- name: Test Application
run: echo "Testing the application"
2 changes: 1 addition & 1 deletion source/dump-ci-stats-to-gcp-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function sendMetricsToGCP(metricType, metricValue, labels) {
timeSeries: [ // Ensure this field is present
{
metric: {
type: `custom.googleapis.com/${metricType}`,
type: `custom.googleapis.com/github/${metricType}`,
labels: labels
},
resource: {
Expand Down

0 comments on commit 152b89f

Please sign in to comment.