Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sestinj committed Jul 29, 2024
1 parent d0f3209 commit e2f7380
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,19 @@ jobs:
# 4. Run tests for the extension
# - name: Install Xvfb for Linux and run tests
run: |
sudo apt-get install -y xvfb # Install Xvfb
Xvfb :99 & # Start Xvfb
export DISPLAY=:99 # Export the display number to the environment
cd extensions/vscode
npm run test
if: matrix.os == 'ubuntu-latest'
# run: |
# sudo apt-get install -y xvfb # Install Xvfb
# Xvfb :99 & # Start Xvfb
# export DISPLAY=:99 # Export the display number to the environment
# cd extensions/vscode
# npm run test
# if: matrix.os == 'ubuntu-latest'

- name: Run extension tests
run: |
cd extensions/vscode
npm run test
if: matrix.os != 'ubuntu-latest'
# - name: Run extension tests
# run: |
# cd extensions/vscode
# npm run test
# if: matrix.os != 'ubuntu-latest'

# 5. Package the extension
- name: Package the extension
Expand Down

0 comments on commit e2f7380

Please sign in to comment.