-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.11 KB
/
on_push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Push Run
on:
push
env:
DOTS_DIR: dots
jobs:
featurize_news:
name: DT-OS_feat pipeline
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
lfs: true
- name: Install test dependencies
run: |
python -m venv dots
source dots/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
- name: Minimal 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
env:
OS_TOKEN: ${{ secrets.OS_TOKEN }}
LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }}
# - name: Minimal tests 2
# run: |
# source dots/bin/activate
# python -m spacy download en_core_web_sm
# python dots/dots_feat.py -n 5 -f 3 -s 1 -o dots_feats.csv
# env:
# OS_TOKEN: ${{ secrets.OS_TOKEN }}
# LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }}