GA cargo test fail fix for windows

macos-click-through
Dinesh kumar 2 years ago committed by GitHub
parent 4100140a3e
commit ce928d1185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,20 +20,20 @@ jobs:
- name: Install Utilities - name: Install Utilities
run: | run: |
cargo install cargo2junit cargo install cargo2junit
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v1
- name: Check Formatting - name: Check Formatting
run: | run: |
cargo fmt --all -- --check cargo fmt --all -- --check
- name: Install Neovim - name: Install Neovim
run: | run: |
choco install -y neovim choco install -y neovim
- name: Add Neovim to PATH
run: echo "C:\tools\neovim\nvim-win64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Test - name: Test
env: env:
NEOVIM_BIN: "C:/tools/neovim/Neovim/bin/nvim.exe" NEOVIM_BIN: "C:/tools/neovim/nvim-win64/bin/nvim.exe"
RUST_BACKTRACE: full RUST_BACKTRACE: full
run: | run: |
# Pay attention not to break BUILD stage of a test, # Pay attention not to break BUILD stage of a test,
@ -47,7 +47,6 @@ jobs:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
# Oh, it still does not fail on Windows. ¯\_(ツ)_/¯ # Oh, it still does not fail on Windows. ¯\_(ツ)_/¯
cat results.json | cargo2junit > results.xml cat results.json | cargo2junit > results.xml
- name: Publish Test Results - name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v1 uses: EnricoMi/publish-unit-test-result-action/composite@v1
if: always() if: always()
@ -57,7 +56,6 @@ jobs:
- name: Build Release - name: Build Release
run: | run: |
cargo build --release cargo build --release
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: neovide-windows name: neovide-windows

Loading…
Cancel
Save