From d6cff478ae5f5516fcc6ec1cb9a39f938032151e Mon Sep 17 00:00:00 2001 From: Zane Dufour Date: Mon, 27 Mar 2023 12:18:22 -0400 Subject: [PATCH] fix: single-quote path 2 (#70) * single-quote path 2 It looks like there was an accidental reversion of #54 during #66 * Add test for use with cimg/python * change test step name --- .circleci/test-deploy.yml | 12 ++++++++++++ src/scripts/install.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.circleci/test-deploy.yml b/.circleci/test-deploy.yml index 383387b..bab770a 100644 --- a/.circleci/test-deploy.yml +++ b/.circleci/test-deploy.yml @@ -34,6 +34,15 @@ jobs: - run: go version && go build ./... - go/save-cache: key: "integration" + int-test-cimg-python: + docker: + - image: cimg/python:3.11 + steps: + - go/install-go: + version: 1.17.2 + - run: + name: "Check if the correct python version is accessible & installed" + command: python --version | grep -q "^Python 3.11" int-test-macos-executor: macos: xcode: "14.1.0" @@ -90,6 +99,8 @@ workflows: filters: *filters - int-test-cimg-base: filters: *filters + - int-test-cimg-python: + filters: *filters - int-test-macos-executor: filters: *filters - int-test-vm-linux: @@ -106,6 +117,7 @@ workflows: - orb-tools/pack - int-test-cimg-go - int-test-cimg-base + - int-test-cimg-python - int-test-macos-executor - int-test-vm-linux - int-test-dirty-cache diff --git a/src/scripts/install.sh b/src/scripts/install.sh index db7c647..bdac041 100644 --- a/src/scripts/install.sh +++ b/src/scripts/install.sh @@ -24,6 +24,6 @@ echo "Installing the requested version of Go." curl --fail --location -sS "https://dl.google.com/go/go${ORB_VAL_VERSION}.${OSD_FAMILY}-${HOSTTYPE}.tar.gz" \ | $SUDO tar --no-same-owner --strip-components=1 --gunzip -x -C /usr/local/go/ -echo "export PATH=$PATH:/usr/local/go/bin" >> "$BASH_ENV" +echo 'export PATH=$PATH:/usr/local/go/bin' >> "$BASH_ENV" $SUDO chown -R "$(whoami)": /usr/local/go