Skip to content

Commit 083b088

Browse files
authored
Create test.yaml
1 parent f60b711 commit 083b088

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- uses: actions/checkout@v4
3+
- name: Set up Python
4+
uses: actions/setup-python@v5
5+
with:
6+
python-version: '3.x'
7+
- name: Install dependencies
8+
run: |
9+
python -m pip install --upgrade pip
10+
pip install spacy requests nltk
11+
python -m spacy download en_core_web_lg
12+
- name: Test with pytest
13+
run: |
14+
pip install pytest pytest-cov
15+
pytest test.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 commit comments

Comments
 (0)