-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (48 loc) · 1.76 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Flowable External Client Build and Test
on: [push, pull_request]
jobs:
test-external-worker-client:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12.0"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- run: pip install virtualenv
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: pip install -e ".[testing]"
working-directory: ./external-worker/
- run: python -m unittest discover
working-directory: ./external-worker/
test-rpa-framework-client:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.0"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- run: pip install virtualenv
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: python setup.py install
working-directory: ./external-worker/
- run: pip install -e ".[testing]"
working-directory: ./rpaframework/
- run: cp -a external-worker/flowable/external_worker_client rpaframework/flowable/ # we need to copy this module over, since it's only searching locally for modules
- run: python -m unittest discover
working-directory: ./rpaframework/