python.yml 806 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: python
  2. on:
  3. pull_request:
  4. branches:
  5. '**'
  6. paths-ignore:
  7. - 'docs/**'
  8. - 'blogs/**'
  9. merge_group:
  10. branches: [ master ]
  11. schedule:
  12. - cron: "0 0 * * *"
  13. concurrency:
  14. group: ${{ github.workflow }}-${{ github.ref }}
  15. cancel-in-progress: true
  16. jobs:
  17. version-check:
  18. strategy:
  19. matrix:
  20. pyVersion: ["3.6", "3.7", "3.8", "3.9", "3.10"]
  21. fail-fast: false
  22. runs-on: ubuntu-20.04
  23. container:
  24. image: deepspeed/gh-builder:py${{ matrix.pyVersion }}
  25. steps:
  26. - uses: actions/checkout@v3
  27. - name: environment
  28. run: |
  29. which python
  30. python --version
  31. - name: Install deepspeed
  32. run: |
  33. pip3 install .
  34. - name: DS Report
  35. run: |
  36. ds_report