diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 218affe4..c773c94f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,9 +49,7 @@ jobs: run: | curl -sLk https://sourceforge.net/projects/open-cobol/files/gnu-cobol/3.1/gnucobol-3.1.2.tar.gz | tar xz cd gnucobol-3.1.2 && ./configure --prefix=${HOME}/gnucobol && sudo make && sudo make install && sudo ldconfig - - ls -al $HOME - ls -al $HOME/gnucobol + sudo chown $(whoami) -R ${HOME}/gnucobol - name: Install CobolCheck if: steps.cache-gnu-cobol.outputs.cache-hit != 'true' @@ -60,4 +58,5 @@ jobs: - name: Run tests for all exercises run: | ls -al $HOME/gnucobol/bin + export PATH=$HOME/gnucobol/bin:$PATH bin/test