forked from EOEPCA/eoepca
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.17 KB
/
test.yml
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
name: Test workflow
# limit when the action is run
on:
push:
# Sequence of patterns matched against refs/heads
branches:
- master
- develop
- 'release/**'
pull_request:
branches:
- master
- develop
- 'release/**'
jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
prepare-system:
# Name the Job
name: Prepare system to run tests
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
- name: Install ubuntu dependencies
run: sudo apt-get install jq python3-venv
- name: Install kubectl
run: ./bin/install-kubectl.sh
- name: Install minikube
run: ./minikube/setup-minikube.sh github
- name: Install terraform
run: ./bin/install-terraform.sh
- name: Deploy EOEPCA
run: ./terraform/test/deployEOEPCA.sh
- name: Run acceptance tests
run: ./test/acceptance/acceptance_tests.sh