Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wongjingping committed Aug 21, 2023
1 parent 530223a commit ee5e489
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@ jobs:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-deps-${{ runner.os }}-${{ hashFiles('requirements.txt') }}
restore-keys: |
pip-deps-${{ runner.os }}-
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
run: pip install -r requirements.txt
- name: Download spaCy model
run: python -m spacy download en_core_web_sm
- name: Run tests
Expand Down

0 comments on commit ee5e489

Please sign in to comment.