Skip to content

Commit

Permalink
robot: drop logical model mapping tests
Browse files Browse the repository at this point in the history
Since [1] the Python client doesn't access MLMD directly, instead
routing requests through the MR server, there's no need to check for
matching implementations.

[1]: 9b9be50 "Switch Python client backend to use REST (kubeflow#152)"
  • Loading branch information
isinyaaa committed Aug 28, 2024
1 parent d04850e commit 4ffde4a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 111 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/run-robot-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ on:
push:
# To any branch
branches:
- '*'
- "*"
# For every pull request
pull_request:
# But ignore this paths
paths-ignore:
- 'LICENSE*'
- 'DOCKERFILE*'
- '**.gitignore'
- '**.md'
- '**.txt'
- '.github/ISSUE_TEMPLATE/**'
- '.github/dependabot.yml'
- 'docs/**'
- 'scripts/**'
- "LICENSE*"
- "DOCKERFILE*"
- "**.gitignore"
- "**.md"
- "**.txt"
- ".github/ISSUE_TEMPLATE/**"
- ".github/dependabot.yml"
- "docs/**"
- "scripts/**"
# Define workflow jobs
jobs:
# Job runs Robot Framework tests against locally build image from current code
Expand All @@ -36,9 +36,9 @@ jobs:
uses: actions/setup-python@v5
with:
# Set Python version to install
python-version: '3.9'
python-version: "3.9"
# Set architecture of Python to install
architecture: 'x64'
architecture: "x64"
# Install required Python packages for running Robot Framework tests
- name: Install required Python packages
# Install required Python packages using pip
Expand All @@ -56,9 +56,9 @@ jobs:
# Run Robot Framework tests in REST mode from test/robot directory
run: robot test/robot
# Run Robot Framework tests in Python mode against running docker compose
- name: Run Robot Framework tests (Python mode)
# Run Robot Framework tests in Python mode from test/robot directory
run: TEST_MODE=Python robot test/robot/MRandLogicalModel.robot
# - name: Run Robot Framework tests (Python mode)
# # Run Robot Framework tests in Python mode from test/robot directory
# run: TEST_MODE=Python robot test/robot/MRandLogicalModel.robot
# Shutdown docker compose with locally build image from current code
- name: Shutdown docker compose with local image
# Shutdown docker compose running in the background
Expand Down
18 changes: 0 additions & 18 deletions test/robot/MLMetadata.py

This file was deleted.

77 changes: 0 additions & 77 deletions test/robot/MRandLogicalModel.robot

This file was deleted.

1 change: 0 additions & 1 deletion test/robot/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ml-metadata==1.14.0
robotframework
robotframework-requests
pyyaml

0 comments on commit 4ffde4a

Please sign in to comment.