File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,12 @@ jobs:
41
41
pip install -e .
42
42
python -c "import autogen"
43
43
pip install -e. pytest mock
44
- - name : Set environment variable based on OS
44
+ - name : Set AUTOGEN_USE_DOCKER based on OS
45
45
run : |
46
- if [ "${{ matrix.os }}" = "macos-latest" ]; then
47
- echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
48
- elif [ "${{ matrix.os }}" = "windows-latest" ]; then
49
- echo "AUTOGEN_USE_DOCKER=False" >> $GITHUB_ENV
50
- fi
46
+ if ($env:matrix_os -eq "macos-latest" -or $env:matrix_os -eq "windows-latest") {
47
+ "AUTOGEN_USE_DOCKER=False" | Out-File -Append -FilePath $env:GITHUB_ENV
48
+ } # Add other conditions or an else clause as needed
49
+ shell : pwsh # Specify pwsh as the shell for this step
51
50
- name : Test with pytest
52
51
if : matrix.python-version != '3.10'
53
52
run : |
You can’t perform that action at this time.
0 commit comments