Skip to content

Commit

Permalink
Add basic compilation test
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams committed Jul 19, 2024
1 parent 3af2e25 commit f90606d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: python

on:
workflow_dispatch:
pull_request:
branches:
'**'
schedule:
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
unit-tests:
strategy:
matrix:
pyVersion: ["3.7", "3.8", "3.9", "3.10"]
fail-fast: false

runs-on: ubuntu-22.04
container:
image: deepspeed/gh-builder:py${{ matrix.pyVersion }}

steps:
- uses: actions/checkout@v4

- name: environment
run: |
which python
python --version
- name: Install Megatron-DeepSpeed
run: |
pip3 install .

0 comments on commit f90606d

Please sign in to comment.