@@ -28,33 +28,30 @@ jobs:
2828 - name : Upgrade pip version
2929 run : |
3030 python -m pip install --upgrade pip
31-
3231 - name : Install requirements
3332 run : |
3433 pip install -r requirements.txt
3534 pip install -r docs/requirements.txt
36-
35+
3736 - name : Install lcov
3837 run : |
3938 sudo apt-get update
4039 sudo apt-get install -y lcov
41-
4240 - name : Build package
4341 run : |
4442 CXXFLAGS=--coverage CFLAGS=--coverage python scripts/build/install.py
45- # coverage tests
43+
44+ # coverage tests
4645 - name : Run tests
4746 run : |
4847 python -m pytest --doctest-modules --cov=./ --cov-report=xml -s
49-
5048 - name : Capture Coverage Data with lcov
5149 run : |
5250 lcov --capture --directory . --output-file coverage.info --no-external
53-
51+
5452 - name : Generate HTML Coverage Report with genhtml
5553 run : |
5654 genhtml coverage.info --output-directory coverage_report
57-
5855 - name : Upload Coverage
5956 uses : codecov/codecov-action@v3
6057 with :
@@ -94,20 +91,16 @@ jobs:
9491 - name : Upgrade pip version
9592 run : |
9693 python -m pip install --upgrade pip
97-
9894 - name : Install requirements
9995 run : |
10096 pip install -r requirements.txt
10197 pip install -r docs/requirements.txt
102-
10398 - name : Build package
10499 run : |
105100 python scripts/build/install.py
106-
107101 - name : Run tests
108102 run : |
109103 python -c "import pydatastructs; pydatastructs.test(only_benchmarks=True)"
110-
111104 - name : Build Documentation
112105 run : |
113106 sphinx-build -b html docs/source/ docs/build/html
@@ -135,20 +128,16 @@ jobs:
135128 - name : Upgrade pip version
136129 run : |
137130 python -m pip install --upgrade pip
138-
139131 - name : Install requirements
140132 run : |
141133 pip install -r requirements.txt
142134 pip install -r docs/requirements.txt
143-
144135 - name : Build package
145136 run : |
146137 python scripts/build/install.py
147-
148138 - name : Run tests
149139 run : |
150140 python -c "import pydatastructs; pydatastructs.test()"
151-
152141 - name : Build Documentation
153142 run : |
154143 sphinx-build -b html docs/source/ docs/build/html
@@ -171,32 +160,34 @@ jobs:
171160 with :
172161 python-version : ${{ matrix.python-version }}
173162
174- - name : Setup conda
163+ - name : Setup conda (with updated configuration)
175164 uses : s-weigand/setup-conda@v1
176165 with :
177166 update-conda : true
178167 python-version : ${{ matrix.python-version }}
179- conda-channels : anaconda, conda-forge
180- - run : conda --version
181- - run : which python
168+ conda-channels : conda-forge, defaults
169+
170+ - name : Check Conda Version
171+ run : |
172+ conda --version
173+
174+ - name : Check Conda Info
175+ run : |
176+ conda info
182177
183178 - name : Upgrade pip version
184179 run : |
185180 python -m pip install --upgrade pip
186-
187181 - name : Install requirements
188182 run : |
189183 pip install -r requirements.txt
190184 pip install -r docs/requirements.txt
191-
192185 - name : Build package
193186 run : |
194187 python scripts/build/install.py
195-
196188 - name : Run tests
197189 run : |
198190 python -c "import pydatastructs; pydatastructs.test()"
199-
200191 - name : Build Documentation
201192 run : |
202193 sphinx-build -b html docs/source/ docs/build/html
0 commit comments