disabling workflows

This commit is contained in:
Ben Jordan 2025-12-22 17:15:22 -05:00
parent 0268accfbc
commit 5f0bb53864
No known key found for this signature in database

View File

@ -1,47 +1,47 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: Test on Ubuntu
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
ports:
- 5432:5432
# Health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v2
#with:
#version: latest
- name: Print Zig version
run: zig version
- name: Build
run: zig build --verbose
- name: Run Tests
run: zig build test --summary all
# name: CI
#
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
# workflow_dispatch:
#
# jobs:
# test:
# name: Test on Ubuntu
# runs-on: ubuntu-latest
#
# services:
# postgres:
# image: postgres:latest
# env:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: password
# POSTGRES_DB: postgres
# ports:
# - 5432:5432
# # Health checks to wait until postgres has started
# options: >-
# --health-cmd pg_isready
# --health-interval 10s
# --health-timeout 5s
# --health-retries 5
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
#
# - name: Setup Zig
# uses: mlugg/setup-zig@v2
# #with:
# #version: latest
#
# - name: Print Zig version
# run: zig version
#
# - name: Build
# run: zig build --verbose
#
# - name: Run Tests
# run: zig build test --summary all