rename module to rpaframework #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.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: 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/ |