Skip to content

Commit

Permalink
lint + test update
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolinmorgan committed Apr 12, 2024
1 parent 7080061 commit 0ba0a1d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,27 @@ jobs:
python -m pip install --upgrade pip
python -m pip install -e .
- name: Minimal tests
- name: gpy_feat tests
run: |
source dots/bin/activate
python DOTS/test/test_dots_feat.py -n 100 -e 1 -d 0 -o dots_gpy_feats.csv
env:
OS_TOKEN: ${{ secrets.OS_TOKEN }}

- name: distilroberta tests
run: |
source dots/bin/activate
python -m spacy download en_core_web_sm
python DOTS/test/test_dots_feat.py -n 5 -f 3 -d 4 -o dots_feats.csv
python DOTS/test/test_dots_feat.py -n 100 -e 0 -d 0 -o dots_drba_feats.csv
env:
OS_TOKEN: ${{ secrets.OS_TOKEN }}

- name: gliner tests
run: |
source dots/bin/activate
python DOTS/test/test_dots_feat.py -n 100 -e 2 -d 0 -o dots_glnr_feats.csv
env:
OS_TOKEN: ${{ secrets.OS_TOKEN }}
LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }}

# - name: Minimal tests 2
# run: |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'validators',
'pytesseract',
'selenium',
'webdriver_manager,'
'webdriver_manager',
'undetected_chromedriver',
'gliner',

Expand Down

0 comments on commit 0ba0a1d

Please sign in to comment.