Skip to content

Commit 1a0b919

Browse files
authored
Add integration workflow (#97)
1 parent 43cca9c commit 1a0b919

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/integration.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: E2E integration
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
15+
strategy:
16+
matrix:
17+
otp: ['24']
18+
elixir: ['1.12.3']
19+
20+
env:
21+
MIX_ENV: build
22+
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
23+
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
24+
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
25+
AZURE_VAULT_NAME: ${{ secrets.AZURE_VAULT_NAME }}
26+
AZURE_CERT_BASE64_THUMBPRINT: ${{ secrets.AZURE_CERT_BASE64_THUMBPRINT }}
27+
AZURE_CERT_PRIVATE_KEY_PEM: ${{ secrets.AZURE_CERT_PRIVATE_KEY_PEM }}
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Setup elixir
32+
uses: erlef/setup-beam@v1
33+
with:
34+
otp-version: ${{matrix.otp}}
35+
elixir-version: ${{matrix.elixir}}
36+
- name: Install dependencies
37+
run: mix deps.get
38+
- name: Compile without warnings
39+
run: mix compile --warnings-as-errors
40+
- name: Run integration
41+
run: mix integration

0 commit comments

Comments
 (0)