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