A console script that allows you to easily update multiple git repositories at once
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
644 B

  1. name: ci
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. python: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
  9. name: python-${{ matrix.python }}
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@main
  13. - name: Setup python-${{ matrix.python }}
  14. uses: actions/setup-python@main
  15. with:
  16. python-version: ${{ matrix.python }}
  17. cache: "pipenv"
  18. cache-dependency-path: "Pipfile"
  19. - name: Install Dependencies
  20. run: |
  21. pip install pipenv
  22. pipenv install -d
  23. - name: Test
  24. run: pipenv run pytest