Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CPU CI/CD #1502

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.2.0
ref: v0.2.1
path: ./ci-testing
- uses: ./ci-testing/.github/actions/code-quality
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.2.0
ref: v0.2.1
path: ./ci-testing
- uses: ./ci-testing/.github/actions/coverage
with:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pr-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
pytest-cpu:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
matrix:
include:
Expand All @@ -26,13 +27,10 @@ jobs:
markers: "not gpu"
pytest_command: "coverage run -m pytest"
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run PR CPU Tests
uses: mosaicml/ci-testing/.github/actions/[email protected].0
uses: mosaicml/ci-testing/.github/actions/[email protected].1
with:
name: ${{ matrix.name }}
container: ${{ matrix.container }}
pip_deps: ${{ matrix.pip_deps }}
pytest_command: ${{ matrix.pytest_command }}
pytest_markers: ${{ matrix.markers }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
markers: "gpu"
pip_deps: "[all]"
pytest_command: "coverage run -m pytest"
ci_repo_gpu_test_ref: v0.2.0
ci_repo_gpu_test_ref: v0.2.1
steps:
- name: Run PR GPU Tests
uses: mosaicml/ci-testing/.github/actions/[email protected].0
uses: mosaicml/ci-testing/.github/actions/[email protected].1
with:
container: ${{ matrix.container }}
git_repo: mosaicml/llm-foundry
Expand All @@ -56,10 +56,10 @@ jobs:
markers: "gpu"
pip_deps: "[all]"
pytest_command: "coverage run -m pytest"
ci_repo_gpu_test_ref: v0.2.0
ci_repo_gpu_test_ref: v0.2.1
steps:
- name: Run PR GPU Tests
uses: mosaicml/ci-testing/.github/actions/[email protected].0
uses: mosaicml/ci-testing/.github/actions/[email protected].1
with:
container: ${{ matrix.container }}
git_repo: mosaicml/llm-foundry
Expand All @@ -85,10 +85,10 @@ jobs:
markers: "gpu"
pip_deps: "[all]"
pytest_command: "coverage run -m pytest"
ci_repo_gpu_test_ref: v0.2.0
ci_repo_gpu_test_ref: v0.2.1
steps:
- name: Run PR GPU Tests
uses: mosaicml/ci-testing/.github/actions/[email protected].0
uses: mosaicml/ci-testing/.github/actions/[email protected].1
with:
container: ${{ matrix.container }}
git_repo: mosaicml/llm-foundry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.2.0
ref: v0.2.1
path: ./ci-testing
- uses: ./ci-testing/.github/actions/smoketest
with:
Expand Down
Loading