@@ -28,19 +28,8 @@ necessarily listed chronologically):
28
28
- Ran ` uv init --name usethis ` .
29
29
- Ran ` uv python pin 3.12.4 ` .
30
30
31
- ## Local development configuration
32
-
33
- - Cloned the repo from GitHub.
34
- - Ran ` uv sync ` .
35
- - Set up git username, email, and signing key.
36
-
37
- ## Set up tests
31
+ ## Add GitHub actions CI
38
32
39
- - Ran ` uv add pytest ` .
40
- - Created a tests folder.
41
- - Added a trivial test module ` test_nothing.py ` .
42
- - Add a trivial test ` test_pass ` to the test module.
43
- - Confirm pytest is working with ` pytest tests ` in the CLI.
44
33
- Create a GitHub workflow file for CI manually in ` .github/workflows/ci.yml ` .
45
34
- Use the following configuration to support GitFlow-style branch management:
46
35
55
44
56
45
- Add <https://github.com/hynek/setup-cached-uv> to set up uv in CI.
57
46
- Add <https://github.com/actions/checkout>.
58
- - Set up the GitHub actions matrix to use Ubuntu, Windows and MacOS.
59
- - Set up logic to use uv to install Python, create a venv, activate it, and sync.
47
+ - Set up the GitHub actions matrix to use Ubuntu, Windows and MacOS
48
+ - Set up the GitHub actions to use different Python versions.
49
+ - Set up logic to use uv in GitHub actions.
50
+
51
+ ## Local development configuration
52
+
53
+ - Cloned the repo from GitHub.
54
+ - Ran ` uv sync`.
55
+ - Set up git username, email, and signing key.
56
+
57
+ # # Set up tests
58
+
59
+ - Ran `uv add pytest`.
60
+ - Created a tests folder.
61
+ - Added a trivial test module `test_nothing.py`.
62
+ - Add a trivial test `test_pass` to the test module.
63
+ - Confirm pytest is working with `pytest tests` in the CLI.
60
64
- Add <https://github.com/pavelzw/pytest-action> to set up pytest in CI, using the
61
65
correct CLI args to pytest.
0 commit comments