Skip to content

Commit

Permalink
CI action (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrove-oss authored Jun 28, 2024
1 parent 962fa72 commit cd366d7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
submodules: false

- name: Set latest tag and branch name
run: |
echo "GIT_BRANCH=gha-ci" >> $GITHUB_ENV
echo "TAG=$GITHUB_RUN_ID" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Helm
uses: azure/setup-helm@v4

- name: Install Helm unittest plugin
run: |
helm plugin install https://github.com/helm-unittest/helm-unittest.git
- name: Run pre-commit checks
run: |
pip install pre-commit
pre-commit run --show-diff-on-failure --color=always --all-files
2 changes: 1 addition & 1 deletion tools/pytorchjob-generator/chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

An AppWrapper generator for PyTorchJobs

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.0](https://img.shields.io/badge/AppVersion-1.16.0-informational?style=flat-square)
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1beta2](https://img.shields.io/badge/AppVersion-v1beta2-informational?style=flat-square)

## Overview

Expand Down

0 comments on commit cd366d7

Please sign in to comment.