Skip to content
Open
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
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions cloudbuild-lint-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
steps:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add the "test" part here too?

# Run Megalinter to lint the codebase
- name: "gcr.io/cloud-builders/docker"
id: "megalinter"
args: ["run", "--platform", "linux/amd64", "--rm", "-v", "/var/run/docker.sock:/var/run/docker.sock:rw", "-v", "/workspace:/tmp/lint:rw", "ghcr.io/oxsecurity/megalinter-python:v9.1.0"]

# Install dependencies and run tests
- name: python:3.12.6
id: "testing"
entrypoint: "sh"
args:
- "-c"
- |
echo "**** Installing Poetry and dependencies ****"
pip install --upgrade pip poetry==2.1.2
make install-dev
echo "**** Running Tests ****"
make test

timeout: "1800s"

options:
logging: CLOUD_LOGGING_ONLY
Loading