generated from brevdev/seed
-
Notifications
You must be signed in to change notification settings - Fork 25
35 lines (29 loc) · 900 Bytes
/
Test_httpGit.yml
File metadata and controls
35 lines (29 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: e2etest-Test_httpGit
on:
push:
branches: [main]
workflow_dispatch:
env:
BREV_SETUP_TEST_CMD_DIR: /home/brev/workspace/actions-runner/_work/brev-cli/brev-cli
jobs:
Test_httpGit:
runs-on: [self-hosted]
if: "contains(github.event.head_commit.message, 'e2etest')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
with:
go-version: '1.24.0'
cache: true
- name: expire test cache
run: go clean -testcache
- name: test
run: go test -timeout 240s -run ^Test_httpGit$ github.com/brevdev/brev-cli/e2etest/setup
# - name: Report Status
# if: always()
# uses: ravsamhq/notify-slack-action@v1
# with:
# status: ${{ job.status }}
# notify_when: 'failure'
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}