Skip to content

Commit

Permalink
Switch to CI to GitHub Actions (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffra authored Nov 24, 2020
1 parent c18fb0d commit 3347460
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 164 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: CI

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
Expand All @@ -29,22 +29,25 @@ jobs:
- name: environment
run: |
nvidia-smi
echo $GITHUB_WORKSPACE
pwd
which python
python --version
which nvcc
nvcc --version
python -c "import torch; print('torch:', torch.__version__, torch)"
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
# Runs a set of commands using the runners shell
- name: Install deepspeed
run: |
pip install .[dev]
ds_report
- name: Formatting checks
run: |
pip install pre-commit
pre-commit run --all-files
# Runs a set of commands using the runners shell
- name: Run unit tests
- name: Unit tests
run: |
if [[ -d ./torch-extensions ]]; then rm -rf ./torch-extensions; fi
TORCH_EXTENSIONS_DIR=./torch-extensions pytest --durations=0 --forked --verbose -x tests/unit/
36 changes: 0 additions & 36 deletions azure-pipelines-docker.yml

This file was deleted.

121 changes: 0 additions & 121 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 3347460

Please sign in to comment.