File tree Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Expand file tree Collapse file tree 3 files changed +41
-4
lines changed Original file line number Diff line number Diff line change
1
+ * @ replit/deployments-reviewers
Original file line number Diff line number Diff line change
1
+ name : Release Drafter
2
+
3
+ on :
4
+ push :
5
+ # branches to consider in the event; optional, defaults to all
6
+ branches :
7
+ - master
8
+ # pull_request event is required only for autolabeler
9
+ pull_request :
10
+ # Only following types are handled by the action, but one can default to all as well
11
+ types : [opened, reopened, synchronize]
12
+ # pull_request_target event is required for autolabeler to support PRs from forks
13
+ pull_request_target :
14
+ types : [opened, reopened, synchronize]
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ jobs :
20
+ update_release_draft :
21
+ permissions :
22
+ # write permission is required to create a github release
23
+ contents : write
24
+ # write permission is required for autolabeler
25
+ # otherwise, read permission is required at least
26
+ pull-requests : write
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ # Drafts your next Release notes as Pull Requests are merged into "master"
30
+ - uses : release-drafter/release-drafter@v5
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 6
6
install :
7
7
@poetry install
8
8
9
+ .PHONY : install-dev
10
+ install-dev :
11
+ @poetry install --with=dev
12
+
9
13
.PHONY : lint
10
14
lint :
11
15
@poetry run ruff check src tests
@@ -15,15 +19,15 @@ lint-fix:
15
19
@poetry run ruff check src tests --fix
16
20
17
21
.PHONY : test-integration
18
- test-integration :
22
+ test-integration : install-dev
19
23
@poetry run pytest --cov-report term-missing --cov=./src ./tests/integration
20
24
21
- .PHONY : test-integration-multi-language
25
+ .PHONY : install-dev test-integration-multi-language
22
26
test-integration-multi-language :
23
27
@poetry run tox
24
28
25
29
.PHONY : test-unit
26
- test-unit :
30
+ test-unit : install-dev
27
31
@poetry run pytest --cov-report term-missing --cov=./src ./tests/unit
28
32
29
33
.PHONY : prerelease
@@ -33,4 +37,4 @@ prerelease: test-unit test-integration-multi-language
33
37
34
38
.PHONY : release
35
39
release : prerelease
36
- @poetry run twine upload dist/*
40
+ @poetry run twine upload dist/*
You can’t perform that action at this time.
0 commit comments