redict/.forgejo/workflows/run-tests.yaml

30 lines
829 B
YAML
Raw Normal View History

2024-07-04 06:53:26 -04:00
on:
push:
branches:
- main
jobs:
test:
runs-on: podman
container:
image: alpine:3.20
steps:
- name: Install build dependencies
run: apk add --no-cache git linux-headers openssl-dev tcl procps tar make gcc musl-dev
- name: Checkout
run: git clone ${{github.server_url}}/${{ github.repository }}
- name: Build
run: make BUILD_TLS=yes
working-directory: redict
- name: Test redict
run: ./runtest
working-directory: redict
- name: Test redict-cluster
run: ./runtest-cluster
working-directory: redict
- name: Test redict-moduleapi
run: ./runtest-moduleapi
working-directory: redict
- name: Test redict-sentinel
run: ./runtest-sentinel
working-directory: redict