-
Notifications
You must be signed in to change notification settings - Fork 0
91 lines (64 loc) · 2.27 KB
/
test-scripts.yml
File metadata and controls
91 lines (64 loc) · 2.27 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Test Scripts
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-go-project-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Give execute permission to the Go script
run: chmod +x create_go_project_layout.sh
- name: Run the Go script
run: ./create_go_project_layout.sh test-go-project
- name: Check if test-go-project directory was created
run: test -d test-go-project
test-terraform-project-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Give execute permission to the Terraform script
run: chmod +x create_terraform_project_layout.sh
- name: Run the Terraform script
run: ./create_terraform_project_layout.sh test-terraform-project
- name: Check if test-terraform-project directory was created
run: test -d test-terraform-project
test-envoy-project-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Give execute permission to the Envoy script
run: chmod +x create_envoy_project_layout.sh
- name: Run the Envoy script
run: ./create_envoy_project_layout.sh test-envoy-project
- name: Check if test-envoy-project directory was created
run: test -d test-envoy-project
test-discord-bot-project-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Give execute permission to the Discord bot script
run: chmod +x create_discord_bot_project_layout.sh
- name: Run the Discord bot script
run: ./create_discord_bot_project_layout.sh test-discord-bot-project
- name: Check if test-discord-bot-project directory was created
run: test -d test-discord-bot-project
test-k8s-project-script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Give execute permission to the Kubernetes script
run: chmod +x create_k8s_project_layout.sh
- name: Run the Envoy script
run: ./create_k8s_project_layout.sh test-k8s-project
- name: Check if test-k8s-project directory was created
run: test -d test-k8s-project