|
|
|
@ -5,7 +5,22 @@ on: |
|
|
|
types: [submitted] |
|
|
|
|
|
|
|
jobs: |
|
|
|
config: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
outputs: |
|
|
|
json: ${{ steps.load.outputs.json }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- id: load |
|
|
|
# based on https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings |
|
|
|
run: | |
|
|
|
{ |
|
|
|
echo 'json<<EOF' |
|
|
|
cat ./.python-versions.json |
|
|
|
echo EOF |
|
|
|
} >> $GITHUB_OUTPUT |
|
|
|
ci: |
|
|
|
needs: config |
|
|
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
|
|
fail-fast: false |
|
|
|
@ -46,7 +61,7 @@ jobs: |
|
|
|
- name: Setup python |
|
|
|
uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
python-version: ${{ vars.PYTHON_VERSION_CURRENT }} |
|
|
|
python-version: ${{ fromJson(needs.config.outputs.json).python_version_current }} |
|
|
|
architecture: x64 |
|
|
|
- name: Test Module |
|
|
|
run: | |
|
|
|
|