From 648eccd179575e3d1cdce4784cd956bed9b61a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 5 May 2022 16:59:53 +0200 Subject: [PATCH] Export PATH before running bin tools tests --- .github/workflows/main.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index be808b3..5cc3f3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,12 +14,8 @@ jobs: runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v2 - with: - path: '.dotfiles' - name: Run bootstrap - run: | - cd ~/.dotfiles - make bootstrap + run: make bootstrap env: DOTFILES_CI: 1 - name: Install neovim @@ -35,16 +31,13 @@ jobs: run: | git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim" - name: Run neovim checks - run: | - cd ~/.dotfiles - make check_neovim + run: make check_neovim env: DOTFILES_CI: 1 - name: Run tests if: ${{ matrix.platform != 'windows-latest' }} run: | - cd ~/.dotfiles - source ~/.profile + export PATH="$HOME/bin:$PATH" make run_tests env: DOTFILES_CI: 1