Skip to content

Commit f6d023b

Browse files
committed
Add missing variable to Makefile. Create new github workflow to run some basic checks when pushing to MR:s
1 parent 8b9f9dd commit f6d023b

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/test-build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
push:
8+
branches-ignore:
9+
- 'master'
10+
11+
jobs:
12+
test-build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.13'
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r dev-requirements.txt
28+
29+
- name: Pull latest Redis image
30+
run: invoke pull --version latest
31+
32+
- name: Build Redis 7.2.0 image
33+
run: invoke build --version 7.2.0 --cpu 1

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ help:
1818

1919
# Default values
2020
CPU ?= 2
21+
VERSION ?= 7.2
2122

2223
build:
2324
docker compose build

0 commit comments

Comments
 (0)