您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

30 行
592 B

  1. name: "Tests of validate package"
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. unittest:
  9. name: 'Run tests of validate package'
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v2
  14. - name: Set up Python
  15. uses: actions/setup-python@v2
  16. with:
  17. python-version: '3.8'
  18. - name: Install dependencies
  19. run: python -m pip install -r scripts/requirements.txt
  20. - name: Run Unittest
  21. run: |
  22. cd scripts
  23. python -m unittest discover tests/ --verbose