Skip to content

Commit 010c4c7

Browse files
authored
Merge pull request #112 from SkywardAI/feat/doc
Add dev doc and bump release version
2 parents 48a2d37 + 5c7ffb1 commit 010c4c7

File tree

5 files changed

+42
-3
lines changed

5 files changed

+42
-3
lines changed

Diff for: .github/workflows/release-drafter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
# Drafts your next Release notes as Pull Requests are merged into "master"
29-
- uses: release-drafter/release-drafter@v5
29+
- uses: release-drafter/release-drafter@v6
3030
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
3131
with:
3232
config-name: release-drafter.yml

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
run: |
3434
poetry config repositories.source ${{ secrets.PYPI_HOMEPAGE }}
3535
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
36-
poetry publish --build
36+
make publish

Diff for: Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ build:
2525
lock:
2626
@poetry lock
2727

28+
.PHONY: shell
29+
shell:
30+
@poetry shell
31+
2832
.PHONY: install
2933
install:
3034
@poetry install -vvv

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See examples in the [examples](./examples) directory.
1515

1616
# Development
1717

18-
Please kindly check the .devcontainer directory for the development environment setup.
18+
See [Development Guide](./docs/Development.md).
1919

2020
# Acknowledgement
2121

Diff for: docs/Development.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Development
2+
3+
We recommend to use VSCode and [Devcontainer](../.devcontainer/devcontainer.json) for development. We can keep the development environment consistent and isolated from the host machine. And also same as the CI/CD environment.
4+
5+
## Setup
6+
7+
After open form the Devcontainer, run the following commands to setup the development environment.
8+
9+
```bash
10+
make poetry
11+
```
12+
13+
```bash
14+
make build
15+
```
16+
17+
```bash
18+
# Execution pyhton 3.11 env
19+
make shell
20+
```
21+
22+
After you finish coding, run the follow commands to check the code quality and test.
23+
24+
```bash
25+
make lint
26+
```
27+
28+
```bash
29+
make install
30+
```
31+
32+
```bash
33+
make test
34+
```
35+

0 commit comments

Comments
 (0)