-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7027d24
commit 7a0fd54
Showing
7 changed files
with
4,376 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
name: Daily Run | ||
|
||
on: | ||
schedule: | ||
- cron: '0 3 * * *' | ||
|
||
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 | ||
env: | ||
OS_TOKEN: ${{ secrets.OS_TOKEN }} | ||
LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }} | ||
|
||
- name: post lobstr | ||
run: | | ||
source dots/bin/activate | ||
python -m spacy download en_core_web_sm | ||
python DOTS/feat.py -d 3 | ||
env: | ||
OS_TOKEN: ${{ secrets.OS_TOKEN }} | ||
LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }} |
Oops, something went wrong.