File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI
2-
3- on :
4- push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
8- workflow_dispatch :
9-
10- jobs :
11- test :
12- name : Test on Ubuntu
13- runs-on : ubuntu-latest
14-
15- services :
16- postgres :
17- image : postgres:latest
18- env :
19- POSTGRES_USER : postgres
20- POSTGRES_PASSWORD : password
21- POSTGRES_DB : postgres
22- ports :
23- - 5432:5432
24- # Health checks to wait until postgres has started
25- options : >-
26- --health-cmd pg_isready
27- --health-interval 10s
28- --health-timeout 5s
29- --health-retries 5
30-
31- steps :
32- - name : Checkout repository
33- uses : actions/checkout@v4
34-
35- - name : Setup Zig
36- uses : mlugg/setup-zig@v2
37- # with:
38- # version: latest
39-
40- - name : Print Zig version
41- run : zig version
42-
43- - name : Build
44- run : zig build --verbose
45-
46- - name : Run Tests
47- run : zig build test --summary all
1+ # name: CI
2+ #
3+ # on:
4+ # push:
5+ # branches: [ main ]
6+ # pull_request:
7+ # branches: [ main ]
8+ # workflow_dispatch:
9+ #
10+ # jobs:
11+ # test:
12+ # name: Test on Ubuntu
13+ # runs-on: ubuntu-latest
14+ #
15+ # services:
16+ # postgres:
17+ # image: postgres:latest
18+ # env:
19+ # POSTGRES_USER: postgres
20+ # POSTGRES_PASSWORD: password
21+ # POSTGRES_DB: postgres
22+ # ports:
23+ # - 5432:5432
24+ # # Health checks to wait until postgres has started
25+ # options: >-
26+ # --health-cmd pg_isready
27+ # --health-interval 10s
28+ # --health-timeout 5s
29+ # --health-retries 5
30+ #
31+ # steps:
32+ # - name: Checkout repository
33+ # uses: actions/checkout@v4
34+ #
35+ # - name: Setup Zig
36+ # uses: mlugg/setup-zig@v2
37+ # #with:
38+ # #version: latest
39+ #
40+ # - name: Print Zig version
41+ # run: zig version
42+ #
43+ # - name: Build
44+ # run: zig build --verbose
45+ #
46+ # - name: Run Tests
47+ # run: zig build test --summary all
You can’t perform that action at this time.
0 commit comments