File tree Expand file tree Collapse file tree 6 files changed +8
-64
lines changed
Expand file tree Collapse file tree 6 files changed +8
-64
lines changed Original file line number Diff line number Diff line change 2525 run : make format-check
2626
2727 test :
28- runs-on : ubuntu-latest
28+ strategy :
29+ matrix :
30+ os : [ubuntu-latest, windows-latest, macos-latest]
31+ runs-on : ${{ matrix.os }}
2932
3033 steps :
3134 - uses : actions/checkout@v4
3841 with :
3942 version : " latest"
4043
41- - name : Run main
42- run : make run
43-
4444 - name : Test
4545 run : make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11all : test
22
3- # Detect available package managers
43UV := $(shell command -v uv 2> /dev/null)
5-
64SRCS := $(shell git ls-files * .py)
75
86ifdef UV
119 RUNNER :=
1210endif
1311
14- .PHONY : run
15- run :
16- $(RUNNER ) ./main.py
17-
1812.PHONY : test
1913test :
2014 $(RUNNER ) pytest test_* .py
Original file line number Diff line number Diff line change 11# Bootstrap for Python coding kata
22
33[ ![ CI] ( https://github.com/Coding-Cuddles/bootstrap-python-kata/actions/workflows/main.yml/badge.svg )] ( https://github.com/Coding-Cuddles/bootstrap-python-kata/actions/workflows/main.yml )
4- [ ![ Replit] ( https://img.shields.io/badge/Try%20with%20Replit-black?logo=replit )] ( https://replit.com/new/github/Coding-Cuddles/bootstrap-python-kata )
54
65## Overview
76
87This is a bootstrap repository for clean code katas in Python 3 using pytest.
98
10- ## Usage
11-
12- You can import this project into [ Replit] ( https://replit.com ) , and it will
13- handle all dependencies automatically.
14-
15- ### Prerequisites
16-
17- * [ Python 3.8+] ( https://www.python.org/ )
18- * [ pytest] ( https://pytest.org )
9+ ## Prerequisites
1910
20- ### Run main
11+ - [ Python 3.8+] ( https://www.python.org/ )
12+ - [ pytest] ( https://pytest.org )
2113
22- ``` console
23- make run
24- ```
14+ ## Usage
2515
2616### Run tests
2717
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments