Skip to content
Merged
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
25 changes: 4 additions & 21 deletions .github/workflows/pytest_odo.251.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,14 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v2

- name: Check out the latest odo repository code
uses: actions/checkout@v2
with:
repository: redhat-developer/odo
ref: v2.5.1
path: odo

- name: Start minikube
uses: medyagh/setup-minikube@latest

- name: Setup go
uses: actions/setup-go@v3
- name: Install ODO
uses: redhat-actions/openshift-tools-installer@v1
with:
go-version: '1.16.1'
- run: go version

# Build and installs odo from source code
- name: Build and Install ODO
run: |
cd odo
make goget-tools
make bin
mv ./odo /usr/local/bin/odo
cd ..
rm -rf odo
# Installs the latest release of odo
odo: "2.5.1"

# Setup Python
- name: Install Python, pipenv and Pipfile packages
Expand Down
2 changes: 1 addition & 1 deletion tests/odo/test_create_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_create_component_with_project_flag(self):
if os.path.isfile(envfile_path):
assert query_yaml(envfile_path, "ComponentSettings", "Project", -1) == component_namespace
else:
raise ValueError("Failed: %s is not created yet." % file_path)
raise ValueError("Failed: %s is not created yet." % envfile_path)


def test_create_with_context_flag(self):
Expand Down