Skip to content

Robot Framework Language Server Release 1.13.0 / disable intellij pub… #1337

Robot Framework Language Server Release 1.13.0 / disable intellij pub…

Robot Framework Language Server Release 1.13.0 / disable intellij pub… #1337

name: Tests - VSCode Example (example-vscode)
on:
push:
paths:
- example-vscode/**
- robocorp-python-ls-core/**
- .github/**
pull_request:
branches:
- example-vscode/**
- robocorp-python-ls-core/**
- .github/**
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [
"ubuntu-py38",
]
include:
- name: "ubuntu-py38"
python: "3.8"
os: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Vendor robocorp_ls_core
working-directory: ./example-vscode
run: |
pip install fire
python -m dev vendor-robocorp-ls-core
- name: setup.py install
working-directory: ./example-vscode
run: |
cd src
python setup.py install
cd ..
- name: Install test deps
working-directory: ./example-vscode
run: |
cd tests
pip install -r test_requirements.txt
cd ..
- name: Test
working-directory: ./example-vscode/tests
env:
PYTHONPATH: .
run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v4
with:
name: tests_output.${{ matrix.name }}.txt
path: example-vscode/tests/tests_output