You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -51,30 +68,28 @@ Type checking is handled by [ty](https://docs.astral.sh/ty/), verifying code aga
51
68
To run type checking:
52
69
53
70
```sh
54
-
make type-check
71
+
uv run poe type-check
55
72
```
56
73
57
74
### Unit tests
58
75
59
-
We employ pytest as our testing framework, equipped with various plugins. Check pyproject.toml for configuration details and installed plugins.
60
-
61
76
We use [pytest](https://docs.pytest.org/) as a testing framework with many plugins. Check `pyproject.toml` for configuration details and installed plugins.
62
77
63
78
To run unit tests:
64
79
65
80
```sh
66
-
make unit-tests
81
+
uv run poe unit-tests
67
82
```
68
83
69
84
To run unit tests with HTML coverage report:
70
85
71
86
```sh
72
-
make unit-tests-cov
87
+
uv run poe unit-tests-cov
73
88
```
74
89
75
90
## Release process
76
91
77
-
Publishing new versions to [PyPI](https://pypi.org/project/apify) is automated through GitHub Actions.
92
+
Publishing new versions to [PyPI](https://pypi.org/project/apify-shared) is automated through GitHub Actions.
78
93
79
94
-**Beta releases**: On each commit to the master branch, a new beta release is automatically published. The version number is determined based on the latest release and conventional commits. The beta version suffix is incremented by 1 from the last beta release on PyPI.
80
95
-**Stable releases**: A stable version release may be created by triggering the `release` GitHub Actions workflow. The version number is determined based on the latest release and conventional commits (`auto` release type), or it may be overridden using the `custom` release type.
@@ -90,18 +105,18 @@ Publishing new versions to [PyPI](https://pypi.org/project/apify) is automated t
90
105
91
106
```toml
92
107
[project]
93
-
name = "apify"
108
+
name = "apify_shared"
94
109
version = "x.z.y"
95
110
```
96
111
97
-
4.Generate the distribution archives for the package:
112
+
4.Build the package:
98
113
99
-
```shell
100
-
uv build
114
+
```sh
115
+
uv run poe build
101
116
```
102
117
103
-
5.Set up the PyPI API token for authentication and upload the package to PyPI:
0 commit comments