From 6c832bab4fc37a11a54b0b16832ffca4ed842602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Fri, 3 Nov 2023 19:06:05 +0100 Subject: [PATCH] [CI] Clean up after conda init in cmake.yml When initializing conda few extra commands are added to user's profile. These commands make it impossible to log in as the test user to the machine, since conda may be missing. We can safely remove the whole '.profile' after the job. --- .github/workflows/cmake.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 0a2684462d..87a25dcb45 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -265,6 +265,12 @@ jobs: working-directory: ${{github.workspace}}/build run: bin/codegen + # conda init adds content to user's profile making it failing (if conda is gone) + - name: Cleanup after conda init + run: | + cat ${HOME}/.profile || true + rm ${HOME}/.profile || true + windows-build: name: Build - Windows strategy: