From 5947d39d9e0c54a18b4661564bf6d85f2a66ccde Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 28 Mar 2024 09:21:29 +0800 Subject: [PATCH] actions run as module --- .github/workflows/daily.yml | 16 ++++++++-------- .github/workflows/on_push.yml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 79717b4..aea03a9 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -34,14 +34,14 @@ jobs: 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 -m DOTS/test/test_dots_feat.py - env: - OS_TOKEN: ${{ secrets.OS_TOKEN }} - LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }} + # - 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: | diff --git a/.github/workflows/on_push.yml b/.github/workflows/on_push.yml index c0b6900..8179666 100644 --- a/.github/workflows/on_push.yml +++ b/.github/workflows/on_push.yml @@ -34,7 +34,7 @@ jobs: run: | source dots/bin/activate python -m spacy download en_core_web_sm - python -m DOTS/test/test_dots_feat.py + python DOTS/test/test_dots_feat.py env: OS_TOKEN: ${{ secrets.OS_TOKEN }} LOBSTR_KEY: ${{ secrets.LOBSTR_KEY }}