Export PATH before running bin tools tests

main
Ensar Sarajčić 2022-05-05 16:59:53 +02:00
parent df72c88337
commit 648eccd179
1 changed files with 3 additions and 10 deletions

View File

@ -14,12 +14,8 @@ jobs:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
path: '.dotfiles'
- name: Run bootstrap - name: Run bootstrap
run: | run: make bootstrap
cd ~/.dotfiles
make bootstrap
env: env:
DOTFILES_CI: 1 DOTFILES_CI: 1
- name: Install neovim - name: Install neovim
@ -35,16 +31,13 @@ jobs:
run: | run: |
git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim" git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"
- name: Run neovim checks - name: Run neovim checks
run: | run: make check_neovim
cd ~/.dotfiles
make check_neovim
env: env:
DOTFILES_CI: 1 DOTFILES_CI: 1
- name: Run tests - name: Run tests
if: ${{ matrix.platform != 'windows-latest' }} if: ${{ matrix.platform != 'windows-latest' }}
run: | run: |
cd ~/.dotfiles export PATH="$HOME/bin:$PATH"
source ~/.profile
make run_tests make run_tests
env: env:
DOTFILES_CI: 1 DOTFILES_CI: 1