Skip to content

Commit 1ab919c

Browse files
committed
added missing python version in conda setup
1 parent 8176d6d commit 1ab919c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020

2121
- name: Setup Conda
22-
if: matrix.os != 'windows-latest'
2322
uses: s-weigand/setup-conda@v1
2423
with:
24+
python-version: ${{ matrix.python-version }}
2525
auto-update-conda: true
26-
conda-channels: conda-forge
26+
conda-channels: anaconda, conda-forge
2727

2828
- name: Install pythonocc-core (Conda)
29-
if: matrix.os != 'windows-latest'
3029
run: conda install --yes pythonocc-core
3130
shell: bash
3231

@@ -48,4 +47,4 @@ jobs:
4847
curl -s https://coverage.codacy.com/get.sh -o CodacyCoverageReporter.sh
4948
chmod +x CodacyCoverageReporter.sh
5049
./CodacyCoverageReporter.sh report -r cobertura.xml -t $CODACY_API_TOKEN
51-
fi
50+
fi

.github/workflows/testing_pr.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Setup Conda
26-
if: matrix.os != 'windows-latest'
2726
uses: s-weigand/setup-conda@v1
2827
with:
28+
python-version: ${{ matrix.python-version }}
2929
auto-update-conda: true
30-
conda-channels: conda-forge
30+
conda-channels: anaconda, conda-forge
3131

3232
- name: Install pythonocc-core (Conda)
33-
if: matrix.os != 'windows-latest'
3433
run: conda install --yes pythonocc-core
3534
shell: bash
3635

0 commit comments

Comments
 (0)