Skip to content

Commit 0b37497

Browse files
committed
feat: ✨ add unittest github action
1 parent 311ede8 commit 0b37497

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

.github/workflows/test-unit.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test-unit
2+
3+
on:
4+
pull_request:
5+
branches: [master, feature]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.10"
17+
architecture: "x64"
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements-dev.txt
22+
- name: Test with unittest
23+
run: |
24+
unittest discover -s tests/unit -v

requirements-dev.txt

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
astroid==3.0.1
2+
black==23.11.0
3+
boto3==1.29.3
4+
boto3-stubs==1.29.3
5+
botocore==1.32.3
6+
botocore-stubs==1.32.3.post1
7+
certifi==2023.11.17
8+
cfgv==3.4.0
9+
charset-normalizer==3.3.2
10+
click==8.1.7
11+
codecov==2.1.13
12+
commit-linter==1.0.3
13+
coverage==7.3.2
14+
dill==0.3.7
15+
distlib==0.3.7
16+
filelock==3.13.1
17+
flake8==6.1.0
18+
identify==2.5.32
19+
idna==3.4
20+
isort==5.12.0
21+
jmespath==1.0.1
22+
mccabe==0.7.0
23+
mypy==1.7.0
24+
mypy-boto3==1.29.3
25+
mypy-boto3-dynamodb==1.29.0
26+
mypy-extensions==1.0.0
27+
nodeenv==1.8.0
28+
packaging==23.2
29+
pathspec==0.11.2
30+
platformdirs==3.11.0
31+
pre-commit==3.5.0
32+
pycodestyle==2.11.1
33+
pyflakes==3.1.0
34+
pylint==3.0.2
35+
python-dateutil==2.8.2
36+
PyYAML==6.0.1
37+
requests==2.31.0
38+
s3transfer==0.7.0
39+
six==1.16.0
40+
tomli==2.0.1
41+
tomlkit==0.12.3
42+
types-awscrt==0.19.13
43+
types-requests==2.31.0.10
44+
types-s3transfer==0.7.0
45+
typing_extensions==4.8.0
46+
urllib3==2.0.7
47+
virtualenv==20.24.6

0 commit comments

Comments
 (0)