-
Notifications
You must be signed in to change notification settings - Fork 13
30 lines (28 loc) · 950 Bytes
/
evm.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
name: Build Integration
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
build:
name: 'Prepare Container Images...'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate SSH
run: ssh-keygen -t rsa -b 4096 -C "sample" -f ~/.ssh/id_rsa -N ""
- name: Registry Auth
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u '${{ secrets.ACCOUNT_NAME }}' --password-stdin
- name: Build Container Images Test
run: sh scripts/build.sh test
integration:
needs: [build]
name: 'Run Integration Tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Registry Auth
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u '${{ secrets.ACCOUNT_NAME }}' --password-stdin
- name: Integration Test
run: sh scripts/integration.sh actions