Skip to content

feat:add test for redis commands, including LPush, RPushX, BgSave, FlushDb and SetEx #4108

feat:add test for redis commands, including LPush, RPushX, BgSave, FlushDb and SetEx

feat:add test for redis commands, including LPush, RPushX, BgSave, FlushDb and SetEx #4108

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Codis
on:
push:
branches: [ "unstable", "3.5" , "4.0" ]
pull_request:
branches: [ "unstable", "3.5" , "4.0"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Build
run: |
cd codis && make -j
- name: Test
run: |
cd codis && make -j
build_codis_image:
name: Build Codis Docker image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: pikadb/codis
- name: Build Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: ./codis
file: ./codis/Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}