Skip to content

Commit bca119f

Browse files
committed
Optimized github action
1 parent 9d87839 commit bca119f

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ jobs:
1717
neovim: true
1818
version: stable
1919

20+
# Needed for the functional tests
2021
- name: Set up JDK
2122
uses: actions/setup-java@v3
2223
with:
2324
distribution: 'temurin'
2425
java-version: '21'
25-
# cache: 'maven' # Change to 'gradle' if using Gradle
2626

27+
# Needed for the functional tests
2728
- name: Set up PHP
2829
uses: shivammathur/setup-php@v2
2930
with:
3031
php-version: '8.2'
31-
extensions: xml
32-
coverage: none # Options: none, xdebug, pcov
32+
coverage: none
3333
tools: composer:v2
3434

3535
- name: Install dependencies
@@ -43,14 +43,9 @@ jobs:
4343
git clone --depth 1 https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim.git ~/.local/share/nvim/site/pack/vendor/start/mason-tool-installer.nvim.git
4444
git clone --depth 1 https://github.com/hrsh7th/nvim-cmp.git ~/.local/share/nvim/site/pack/vendor/start/nvim-cmp.git
4545
git clone --depth 1 https://github.com/hrsh7th/cmp-nvim-lsp.git ~/.local/share/nvim/site/pack/vendor/start/cmp-nvim-lsp.git
46-
sudo apt update -y
47-
sudo apt install build-essential php php-xml composer openjdk-21-jdk -y --reinstall
46+
4847
- name: Run Unit Tests
4948
run: make test-unit
49+
5050
- name: Run Functional Tests
5151
run: make test-functional
52-
- name: debug
53-
if: always()
54-
run: |
55-
# sudo cat ~/.local/state/nvim/lsp.log
56-
java --version

0 commit comments

Comments
 (0)