Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitjasa-db committed Feb 3, 2024
1 parent 72e8671 commit 613daa2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ jobs:
run: |
# Install act
curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash
echo "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04" > ~/.actrc
echo "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest" > ~/.actrc
echo "PATH=$PATH:$(pwd)/bin" >> "$GITHUB_ENV"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
- name: Generate CICD Zip
run: |
cd template/{{.input_root_dir}}
cp --parents .github/workflows/\{\{.input_project_name\}\}-* cicd/template
cp --parents .azure/devops-pipelines/\{\{.input_project_name\}\}-* cicd/template
tar -czvf cicd.tar.gz cicd
cd ../..
- name: Run tests with pytest
run: |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ under ``devops-pipelines``. These workflows cover testing and deployment of both
Databricks ML asset definitions.

To set up CI/CD for a new project,
please refer to [Setting up CI/CD](<../../README.md#Setting up CI/CD>) and following the [MLOps Setup Guide]((./docs/mlops-setup.md#Steps).
please refer to [Setting up CI/CD](<../../README.md#Setting up CI/CD>) and following the [MLOps Setup Guide](./docs/mlops-setup.md#Steps).
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ under ``workflows``. These workflows cover testing and deployment of both ML cod
Databricks ML asset definitions.

To set up CI/CD for a new project,
please refer to [Setting up CI/CD](<../../README.md#Setting up CI/CD>) and following the [MLOps Setup Guide]((./docs/mlops-setup.md#Steps)
please refer to [Setting up CI/CD](<../../README.md#Setting up CI/CD>) and following the [MLOps Setup Guide](./docs/mlops-setup.md#Steps)
to make sure your `WORKFLOW_TOKEN` secret has been properly set up with `Workflow` permissions.

0 comments on commit 613daa2

Please sign in to comment.