Skip to content

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

Robot Framework Language Server Release 1.13.0 / disable intellij pub…

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

name: Tests - Robocorp Code (robocorp-code)
on:
push:
paths:
- robocorp-code/**
- robocorp-python-ls-core/**
- robotframework-ls/**
- .github/**
pull_request:
paths:
- robocorp-code/**
- robocorp-python-ls-core/**
- robotframework-ls/**
- .github/**
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name: [
"ubuntu-py310",
"windows-py310",
# "mac-py310", mac disabled because it takes too long for runners to pick the mac job up.
]
include:
- name: "ubuntu-py310"
python: "3.10"
os: ubuntu-latest
- name: "windows-py310"
python: "3.10"
os: windows-latest
# - name: "mac-py310"
# python: "3.10"
# os: mac-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: ./robocorp-code
run: |
pip install fire poetry
python -m dev vendor-robocorp-ls-core
- name: setup.py install
working-directory: ./robocorp-code
run: poetry install
- name: Test
working-directory: ./robocorp-code/tests
env:
PYTHONPATH: .
CI_CREDENTIALS: ${{ secrets.CI_CREDENTIALS }}
CI_ENDPOINT: ${{ secrets.CI_ENDPOINT }}
# Big timeout to create environment in windows.
RUN_TESTS_TIMEOUT: 3000
run: poetry run python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests_output.${{ matrix.name }}.txt
path: robocorp-code/tests/tests_output
- uses: actions/upload-artifact@v4
if: always()
with:
name: log.${{ matrix.name }}.html
path: robocorp-code/tests/output/log.html