Skip to content

Commit

Permalink
Debug luacov installation
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 9, 2024
1 parent b111dfe commit 624194f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
os:
- ubuntu-latest
version:
- 5.4
- 5.3
- 5.2
- 5.1
- '5.4'
- '5.3'
- '5.2'
- '5.1'
include:
- os: macos-latest
version: 5.4
version: '5.4'
- os: macos-13
version: 5.4
version: '5.4'

runs-on: ${{ matrix.os }}

Expand All @@ -39,7 +39,7 @@ jobs:
run: |
if [ $RUNNER_OS = 'Linux' ]; then
sudo apt-get update
sudo apt-get install -y lua${{ matrix.version }} luarocks
sudo apt-get install -y lua${{ matrix.version }} ${{ matrix.version == '5.4' && 'luarocks' || '' }}
elif [ $RUNNER_OS = 'macOS' ]; then
brew install lua@${{ matrix.version }} luarocks
fi
Expand All @@ -48,7 +48,7 @@ jobs:

- run: sudo luarocks install luacov

- run: make lu_test COV=true
- run: make lu_test ${{ matrix.version == '5.4' && 'COV=true' || '' }}

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit 624194f

Please sign in to comment.