Browse Source

Merge pull request #1081 from octodns/secret-python-versions

CI pulls python versions from org secret
pull/1082/head
Ross McFarland 2 years ago
committed by GitHub
parent
commit
be6e856578
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 13 deletions
  1. +6
    -5
      .github/workflows/main.yml
  2. +3
    -7
      .github/workflows/modules.yml
  3. +1
    -1
      .github/workflows/stale.yml

+ 6
- 5
.github/workflows/main.yml View File

@ -7,12 +7,13 @@ jobs:
strategy:
fail-fast: false
matrix:
# Tested versions based on dates in https://devguide.python.org/versions/#versions
python-version: ['3.8', '3.9', '3.10', '3.11']
# Defined in an org level variable, based on dates in
# https://devguide.python.org/versions/#versions
python-version: ${{fromJson(vars.PYTHON_VERSIONS_ACTIVE)}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
@ -41,7 +42,7 @@ jobs:
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION_CURRENT }}
architecture: x64
- name: CI setup.py
run: |


+ 3
- 7
.github/workflows/modules.yml View File

@ -42,15 +42,11 @@ jobs:
# some point in the future and either re-enable or delete it.
#- sukiyaki/octodns-netbox
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
# This should generally be the latest stable release of python, but
# dyn and ovh don't currently support changes made in 3.10 so we'll
# leave it 3.9 for now. Once 3.11 lands though we'll bump to it and
# if they haven't updated they'll be removed from the matrix
python-version: '3.9'
python-version: ${{ vars.PYTHON_VERSION_CURRENT }}
architecture: x64
- name: Test Module
run: |


+ 1
- 1
.github/workflows/stale.yml View File

@ -6,7 +6,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-stale: 90


Loading…
Cancel
Save