Skip to content

Commit ada4e34

Browse files
authored
Adding CI (#1)
1 parent f94c332 commit ada4e34

File tree

6 files changed

+195
-0
lines changed

6 files changed

+195
-0
lines changed

.github/release-drafter-config.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name-template: 'Version $NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
autolabeler:
4+
- label: 'maintenance'
5+
files:
6+
- '*.md'
7+
- '.github/*'
8+
- label: 'bug'
9+
branch:
10+
- '/bug-.+'
11+
- label: 'maintenance'
12+
branch:
13+
- '/maintenance-.+'
14+
- label: 'feature'
15+
branch:
16+
- '/feature-.+'
17+
categories:
18+
- title: '🔥 Breaking Changes'
19+
labels:
20+
- 'breakingchange'
21+
- title: '🚀 New Features'
22+
labels:
23+
- 'feature'
24+
- 'enhancement'
25+
- title: '🐛 Bug Fixes'
26+
labels:
27+
- 'fix'
28+
- 'bugfix'
29+
- 'bug'
30+
- title: '🧰 Maintenance'
31+
label: 'maintenance'
32+
change-template: '- $TITLE (#$NUMBER)'
33+
exclude-labels:
34+
- 'skip-changelog'
35+
template: |
36+
## Changes
37+
38+
$CHANGES
39+
40+
## Contributors
41+
We'd like to thank all the contributors who worked on this release!
42+
43+
$CONTRIBUTORS
44+

.github/spellcheck-settings.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
matrix:
2+
- name: Markdown
3+
expect_match: false
4+
apsell:
5+
mode: en
6+
dictionary:
7+
wordlists:
8+
- .github/wordlist.txt
9+
output: wordlist.dic
10+
encoding: utf-8
11+
pipeline:
12+
- pyspelling.filters.markdown:
13+
markdown_extensions:
14+
- markdown.extensions.extra:
15+
- pyspelling.filters.html:
16+
comments: true
17+
attributes:
18+
- alt
19+
ignores:
20+
- ':matches(code, pre)'
21+
- 'code'
22+
- 'pre'
23+
- 'blockquote'
24+
sources:
25+
- '*.md'
26+
- 'docs/*.md'

.github/wordlist.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
APIs
2+
Bader's
3+
CLI
4+
Config
5+
Deserializing
6+
FastAPI
7+
HashModel
8+
Homebrew
9+
JSON
10+
JsonModel
11+
MacOS
12+
OM's
13+
ORM
14+
Pipenv
15+
PrimaryKeyCreator
16+
Pydantic
17+
Pydantic
18+
Pydantic's
19+
README
20+
README.md
21+
RediSearch
22+
RediSearch
23+
RedisJSON
24+
SQLAlchemy
25+
SSL
26+
TOC
27+
ULIDs
28+
UlidPrimaryKey
29+
WSL
30+
aioredis
31+
async
32+
asyncio
33+
cls
34+
coroutines
35+
doctoc
36+
fastapi
37+
indexable
38+
io
39+
js
40+
localhost
41+
md
42+
migrator
43+
py
44+
pyenv
45+
redis
46+
redisearch
47+
redisjson
48+
rediss
49+
runtime
50+
sortable
51+
subclasses
52+
subclassing
53+
subscripted
54+
unix
55+
utf
56+
validator
57+
validators
58+
virtualenv

.github/workflows/integration.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
push:
3+
paths-ignore:
4+
- 'docs/**'
5+
- '**/*.md'
6+
branches:
7+
- master
8+
pull_request:
9+
schedule:
10+
- cron: "0 1 * * *"
11+
12+
env:
13+
redis_stack_version: 6.2.2-v5
14+
15+
jobs:
16+
17+
build_and_test:
18+
name: Build and Test
19+
runs-on: ubuntu-latest
20+
strategy:
21+
matrix:
22+
dotnet-version: ['6.0.x']
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: install dotnet tools
26+
uses: actions/setup-dotnet@v2
27+
with:
28+
dotnet-version: ${{matrix.dotnet-version}}
29+
- name: run redis-stack-server docker
30+
run: docker run -p 6379:6379 -d redis/redis-stack-server:${{env.redis_stack_version}}
31+
- name: compile
32+
run: dotnet build
33+
- name: run tests
34+
run: dotnet test

.github/workflows/release-drafter.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
9+
jobs:
10+
update_release_draft:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: release-drafter/release-drafter@v5
15+
with:
16+
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
17+
config-name: release-drafter-config.yml
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/spellcheck.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: spellcheck
2+
on:
3+
pull_request:
4+
jobs:
5+
check-spelling:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Check Spelling
11+
uses: rojopolis/[email protected]
12+
with:
13+
config_path: .github/spellcheck-settings.yml
14+
task_name: Markdown

0 commit comments

Comments
 (0)