-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(python): ensure virtualenv defaults to Python 3.7 for api and s…
…hared-data (#9708)
- Loading branch information
Showing
4 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ inputs: | |
project: | ||
description: 'Which project (by subdirectory) to set up' | ||
required: true | ||
python-version: | ||
description: "What Python version to use to create the project's virtual environment" | ||
required: false | ||
runs: | ||
using: 'composite' | ||
steps: | ||
|
@@ -18,4 +21,4 @@ runs: | |
npm install --global [email protected] | ||
pip install pipenv==2021.5.29 | ||
- shell: bash | ||
run: 'make -C ${{ inputs.project }} setup' | ||
run: 'make -C ${{ inputs.project }} setup OT_VIRTUALENV_VERSION=${{ inputs.python-version }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ jobs: | |
- uses: './.github/actions/python/setup' | ||
with: | ||
project: 'shared-data/python' | ||
python-version: ${{ matrix.python }} | ||
- name: 'set complex environment variables' | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters