summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlan Rominger <arominge@redhat.com>2023-02-03 03:10:05 +0100
committerAlan Rominger <arominge@redhat.com>2023-02-03 20:24:43 +0100
commit59da9a29df135a91a9b61649c55dbfc60a4ade94 (patch)
tree72835bc10f3bad8b88a6c5aa982a0615f31dc358 /.github/workflows
parentConsolidate CI logic with github_ci_runner target (diff)
downloadawx-59da9a29df135a91a9b61649c55dbfc60a4ade94.tar.xz
awx-59da9a29df135a91a9b61649c55dbfc60a4ade94.zip
Delete everything about py_version in CI workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 345d35563a..f492230244 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,7 +2,6 @@
name: CI
env:
LC_ALL: "C.UTF-8" # prevent ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
- py_version: "3.9"
CI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEV_DOCKER_TAG_BASE: ghcr.io/${{ github.repository_owner }}
COMPOSE_TAG: ${{ github.base_ref || 'devel' }}
@@ -56,11 +55,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Install python ${{ env.py_version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ env.py_version }}
-
- name: Run smoke test
run: make github_ci_setup && ansible-playbook tools/docker-compose/ansible/smoke-test.yml -v
@@ -78,6 +72,10 @@ jobs:
repository: ansible/awx-operator
path: awx-operator
+ - name: Get python version from Makefile
+ working-directory: awx
+ run: echo py_version=`make PYTHON_VERSION` >> $GITHUB_ENV
+
- name: Install python ${{ env.py_version }}
uses: actions/setup-python@v2
with: