generated from codecrafters-io/tester-template
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.07 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Test
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.22.x
- name: Fetch latest release of Kafka && extract it
run: |
wget --progress=dot:giga https://media.githubusercontent.com/media/codecrafters-io/build-your-own-kafka/main/kafka_2.13-4.0.0-SNAPSHOT.tgz
tar -xzf kafka_2.13-4.0.0-SNAPSHOT.tgz
sudo mv kafka_2.13-4.0.0-SNAPSHOT/ /usr/local/kafka-latest
export PATH=$PATH:/usr/local/kafka-latest/bin
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.9'
- run: make test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- uses: dominikh/[email protected]
with:
version: "2024.1"
install-go: false