Skip to content

Apply formatting to library source #51

Apply formatting to library source

Apply formatting to library source #51

Workflow file for this run

name: Testing
on:
push:
branches: "**"
pull_request:
branches: "**"
jobs:
BuildAndTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Submodule init
run: git submodule init && git submodule update --recursive
- name: Add packages.redis.io key
run: curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
- name: Install packages.redis.io key
run: echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
- name: Install depedencies
run: sudo apt -y update && sudo apt -y install redis parallel
- name: Redis version check
run: redis-cli info | grep redis_version
- name: Build tests
run: cd test && make
- name: Run tests
run: cd test && make run