Skip to content

Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i… #581

Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…

Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i… #581

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
Test:
name: Test
runs-on: ubuntu-20.04
permissions:
pull-requests: write
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
make install
- name: run the command
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}