forked from streamlit/streamlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bash warnings in CI (streamlit#5663)
Remove the `-i` ("interactive") option from our bash invocations in CI jobs. This fixes the "bash: cannot set terminal process group: Inappropriate ioctl for device" warning printed in all of our workflow jobs. (The PR also trims whitespace at the end of lines in our CI yaml files.)
- Loading branch information
Showing
14 changed files
with
55 additions
and
55 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
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
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
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ on: | |
type: string | ||
|
||
# Avoid duplicate workflows on same branch | ||
concurrency: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-cypress | ||
cancel-in-progress: true | ||
|
||
|
@@ -25,17 +25,17 @@ jobs: | |
|
||
defaults: | ||
run: | ||
shell: bash -ileo pipefail {0} | ||
shell: bash --login -eo pipefail {0} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
specs: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22 ] | ||
|
||
steps: | ||
- name: Checkout Streamlit code | ||
uses: actions/checkout@v3 | ||
with: | ||
with: | ||
ref: ${{ inputs.ref }} | ||
persist-credentials: false | ||
submodules: 'recursive' | ||
|
@@ -58,7 +58,7 @@ jobs: | |
echo '[mapbox]' > ~/.streamlit/config.toml | ||
MAPBOX_TOKEN=$(curl -sS https://data.streamlit.io/tokens.json | jq -r '.["mapbox-localhost"]') \ | ||
&& echo 'token = "'$MAPBOX_TOKEN'"' >> ~/.streamlit/config.toml | ||
echo '[general]' > ~/.streamlit/credentials.toml | ||
echo 'email = "[email protected]"' >> ~/.streamlit/credentials.toml | ||
- name: Cypress Tests | ||
|
@@ -103,7 +103,7 @@ jobs: | |
|
||
defaults: | ||
run: | ||
shell: bash -ileo pipefail {0} | ||
shell: bash --login -eo pipefail {0} | ||
|
||
steps: | ||
- name: Check Cypress test matrix status | ||
|
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
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
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
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