Skip to content

Commit 9baeb0a

Browse files
committed
Set "Github Actions" shell on "Windows".
1 parent 61a55fd commit 9baeb0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121
# echo ::set-env name=CI_SLACK_SUCCESS_NOTIFICATION::%CI_SLACK_SUCCESS_NOTIFICATION%
122122
# echo ::set-env name=CI_SLACK_FAILURE_NOTIFICATION::%CI_SLACK_FAILURE_NOTIFICATION%
123123
# echo ::set-env name=COVERALLS_REPO_TOKEN::%COVERALLS_REPO_TOKEN%
124+
# shell: cmd
124125
# - name: Set up Python ${{ matrix.python-version }}
125126
# uses: actions/setup-python@v1
126127
# with:
@@ -131,28 +132,34 @@ jobs:
131132
# python get-poetry.py --preview
132133
# set PATH=%USERPROFILE%\.poetry\bin;%PATH%
133134
# echo ::set-env name=PATH::%PATH%
135+
# shell: cmd
134136
# - name: Install Package Dependencies
135137
# run: |
136138
# call poetry install
137139
# FOR /F %%a IN ('poetry env info -p') DO SET CI_VIRTUAL_ENVIRONMENT=%%a
138140
# echo ::set-env name=CI_VIRTUAL_ENVIRONMENT::%CI_VIRTUAL_ENVIRONMENT%
139141
# call %CI_VIRTUAL_ENVIRONMENT%\scripts\activate
140142
# python -c "import imageio;imageio.plugins.freeimage.download()"
143+
# shell: cmd
141144
# - name: Lint with flake8
142145
# run: |
143146
# call %CI_VIRTUAL_ENVIRONMENT%\scripts\activate
144147
# flake8 %CI_PACKAGE% --count --show-source --statistics
148+
# shell: cmd
145149
# - name: Test with nosetests
146150
# run: |
147151
# call %CI_VIRTUAL_ENVIRONMENT%\scripts\activate
148152
# python -W ignore -m nose -v --nocapture --with-doctest --doctest-options=+ELLIPSIS --with-coverage --cover-package=%CI_PACKAGE% %CI_PACKAGE%
153+
# shell: cmd
149154
# - name: Upload Coverage to coveralls.io
150155
# if: matrix.python-version == '3.6' || matrix.python-version == '3.7'
151156
# run: |
152157
# call %CI_VIRTUAL_ENVIRONMENT%\scripts\activate
153158
# IF "%COVERALLS_REPO_TOKEN%"=="" (echo "COVERALLS_REPO_TOKEN" secret is undefined!) ELSE (coveralls)
159+
# shell: cmd
154160
# - name: Notify Slack
155161
# if: always()
156162
# run: |
157163
# IF "${{ job.status }}"=="Success" (set CI_SLACK_NOTIFICATION=%CI_SLACK_SUCCESS_NOTIFICATION%) ELSE (set CI_SLACK_NOTIFICATION=%CI_SLACK_FAILURE_NOTIFICATION%)
158164
# IF "%CI_SLACK_WEBHOOK%"=="" (echo "SLACK_WEBHOOK" secret is undefined!) ELSE (curl -k -d %CI_SLACK_NOTIFICATION% -X POST %CI_SLACK_WEBHOOK%)
165+
# shell: cmd

0 commit comments

Comments
 (0)