-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (42 loc) · 1.27 KB
/
ci-dev.yaml
File metadata and controls
57 lines (42 loc) · 1.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
name: CI Dev
on:
push:
paths-ignore:
- 'README.md'
workflow_dispatch:
permissions:
contents: read
packages: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ 12.8.6 ]
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup OpenEdge
uses: ./.github/actions/setup-openedge
with:
version: ${{ matrix.version }}
dockerfile: Dockerfile-dev
- name: compose image name
run: |
echo "PAS_IMAGE=openedge-pas:${{env.OPENEDGE_VERSION}}" >> $GITHUB_ENV
- name: Build docker image
run: |
docker build -f Dockerfile-dev -t ${{ env.PAS_IMAGE }} .
- name: Get progress.cfg
run: |
echo "${{ secrets[format('PROGRESS_CFG_{0}', env.FLATVERSION)] }}" | base64 --decode > progress.cfg
- name: Start test container
uses: ./.github/actions/start-container
with:
pasimage: ${{ env.PAS_IMAGE }}
- name: Execute tests
run: |
docker logs pas
curl http://localhost:8810/web/api > result.txt
cat result.txt
grep -Fxq "OK" result.txt