diff --git a/.github/workflows/composite/lint-sdk/action.yml b/.github/workflows/composite/lint-sdk/action.yml index b8385670..a4fb799b 100644 --- a/.github/workflows/composite/lint-sdk/action.yml +++ b/.github/workflows/composite/lint-sdk/action.yml @@ -12,6 +12,6 @@ runs: - name: Run pylint shell: bash run: | - pip install pylint - pip install --requirement ${{ inputs.package-name }}/requirements.txt + pip3 install pylint + pip3 install --requirement ${{ inputs.package-name }}/requirements.txt pylint ${{ inputs.package-name }}/*.py -d R,C,W0511 \ No newline at end of file diff --git a/.github/workflows/composite/test-sdk/action.yml b/.github/workflows/composite/test-sdk/action.yml index 34882059..f9f57245 100644 --- a/.github/workflows/composite/test-sdk/action.yml +++ b/.github/workflows/composite/test-sdk/action.yml @@ -27,14 +27,14 @@ runs: - name: Install package under test shell: bash run: | - pip install --requirement ${{ inputs.package-under-test }}/requirements.txt - pip install ${{ inputs.package-under-test }} + pip3 install --requirement ${{ inputs.package-under-test }}/requirements.txt + pip3 install ${{ inputs.package-under-test }} - name: Run tests shell: bash run: | - pip install --requirement ${{ inputs.test-dir }}/requirements.txt + pip3 install --requirement ${{ inputs.test-dir }}/requirements.txt cd ${{ inputs.test-dir }} - python ${{ inputs.test-file }} + python3 ${{ inputs.test-file }} - name: Upload Test Results if: always() uses: actions/upload-artifact@v3 diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index ff7853e9..64571b11 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -279,13 +279,13 @@ jobs: - name: "Install Python and Dependencies" run: | sudo apt-get install python3-dev - pip install twine - pip install --requirement ${{ needs.check-release.outputs.package }}/requirements.txt + pip3 install twine + pip3 install --requirement ${{ needs.check-release.outputs.package }}/requirements.txt - name: "Build Package" run: | cd ${{ needs.check-release.outputs.package }} - python setup.py sdist bdist_wheel + python3 setup.py sdist bdist_wheel - name: "Publish Package" run: | cd ${{ needs.check-release.outputs.package }}