Skip to content

Commit c50bc92

Browse files
committed
test workflow
1 parent 004d8e0 commit c50bc92

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/unittest.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Unit test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
unit_test_ubuntu:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.6, 3.7, 3.8, 3.9]
11+
12+
env:
13+
EMAIL_VAL_API_KEY: ${{ secrets.API_KEY }}
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- name: Install dependencies, and python_core module
19+
run: |
20+
pip3 install -r requirements.txt
21+
python setup.py install --user
22+
23+
- name: Run test
24+
run: |
25+
python3 -m unittest tests/test_python_email_validation.py

0 commit comments

Comments
 (0)