Skip to content

Commit

Permalink
ci_credentials: disable tooling test run by tox (#21580)
Browse files Browse the repository at this point in the history
* disable tox

* rename steps

* revert changes on experimental workflow

* do not install tox
  • Loading branch information
alafanechere authored Jan 19, 2023
1 parent ceb8a70 commit 295fcec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,25 +260,23 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Pyenv and Tox
- name: Install Pyenv
run: |
python3 -m pip install --quiet virtualenv==16.7.9 --user
rm -r venv || echo "no pre-existing venv"
python3 -m virtualenv venv
source venv/bin/activate
pip install --quiet tox==3.24.4
- name: Install yq
if: github.event.inputs.auto-bump-version == 'true' && success()
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CC86BB64
sudo add-apt-repository ppa:rmescandon/yq
sudo apt update
sudo apt install yq -y
- name: Test and install CI scripts
- name: Install CI scripts
# all CI python packages have the prefix "ci_"
run: |
source venv/bin/activate
tox -r -c ./tools/tox_ci.ini
pip install --quiet -e ./tools/ci_*
- name: Write Integration Test Credentials for ${{ matrix.connector }}
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Pyenv and Tox
- name: Install Pyenv
run: |
python3 -m pip install --quiet virtualenv==16.7.9 --user
python3 -m virtualenv venv
source venv/bin/activate
pip install --quiet tox==3.24.4
- name: Test and install CI scripts
- name: Install CI scripts
# all CI python packages have the prefix "ci_"
run: |
source venv/bin/activate
tox -r -c ./tools/tox_ci.ini
pip install --quiet -e ./tools/ci_*
- name: Write Integration Test Credentials for ${{ github.event.inputs.connector }}
run: |
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-performance-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,15 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Pyenv and Tox
- name: Install Pyenv
run: |
python3 -m pip install --quiet virtualenv==16.7.9 --user
python3 -m virtualenv venv
source venv/bin/activate
pip install --quiet tox==3.24.4
- name: Test and install CI scripts
- name: Install CI scripts
# all CI python packages have the prefix "ci_"
run: |
source venv/bin/activate
tox -r -c ./tools/tox_ci.ini
pip install --quiet -e ./tools/ci_*
- name: Write Integration Test Credentials for ${{ github.event.inputs.connector }}
run: |
Expand Down

0 comments on commit 295fcec

Please sign in to comment.