Skip to content

Commit

Permalink
Merge pull request #9 from prady0t/removing-old-blogs
Browse files Browse the repository at this point in the history
Removing old blogs
  • Loading branch information
prady0t authored Sep 17, 2024
2 parents 730deee + bb0240c commit 8446f69
Show file tree
Hide file tree
Showing 15 changed files with 129 additions and 4 deletions.
Binary file removed .DS_Store
Binary file not shown.
59 changes: 59 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed content/.DS_Store
Binary file not shown.
Binary file removed content/posts/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion content/posts/GSoC-week-1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: "GSoC week 1"
title: "GSoC week 1 and 2"

date: 2024-06-03

Expand Down
2 changes: 1 addition & 1 deletion content/posts/GSoC-week-2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: "GSoC week 2 and 3"
title: "GSoC week 3 and 4"

date: 2024-06-29

Expand Down
4 changes: 2 additions & 2 deletions content/posts/GSoC-week-3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

title: "GSoC week 4 and 5"
title: "GSoC week 5 and 6"

date: 2024-07-27

Expand All @@ -11,7 +11,7 @@ date: 2024-07-27
![GSoC Banner](/GSoC_Banner.png)
<img src = "/GSoC_Banner.png">

This blog will cover the fourth and fifth week as a GSoC student.
This blog will cover the fifth and sixth week as a GSoC student.

### Work so far and for the coming weeks.

Expand Down
22 changes: 22 additions & 0 deletions content/posts/GSoC-week-4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---

title: "GSoC week 7 and 8"

date: 2024-08-10



---

![GSoC Banner](/GSoC_Banner.png)
<img src = "/GSoC_Banner.png">

This blog will cover the seventh and eighth week as a GSoC student.

### Work so far and for the coming weeks.

- Moving all the integration test files to pytest : Finally all the integration test files have been migrated to pytest. With this integration we also ensure not using unittest anywhere in the integration test suite and moving to pytest ecosystem. There were some large files that needed a bit of time as well as some which were fairly straightforward (using numpy testing so not much changes were required). To know more follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4285).

- Annotating GitHub-Action failures : One essential addition was using [pytest-github-actions-annotate-failures](https://github.com/pytest-dev/pytest-github-actions-annotate-failures) to annotate failures created by pytest running tests inside github-actions. This really helps with pointing out the lines (or tests) that created this failure inside the github UI itself. You don't have to look inside lengthy logs anymore. Follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4294) to know more.

- Moving to `src` layout : Finally a PR to move to `src` layer has been made. This includes all test files migration to a src folder along with related changes to file paths. With this we remove the flat layout. We now will be able to test the build wheel with `cibuildwheel` inside the CI itself which will be covered in the upcoming PR. Follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4311) to know more.
22 changes: 22 additions & 0 deletions content/posts/GSoC-week-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---

title: "GSoC week 9 and 10"

date: 2024-08-24



---

![GSoC Banner](/GSoC_Banner.png)
<img src = "/GSoC_Banner.png">

This blog will cover the ninth and tenth week as a GSoC student.

### Work so far and for the coming weeks.

- Migrating tests to pytest part 5 : Almost 20 more files were moved to pytest. With this almost half of the unit tests are migrated to pytest! You can follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4333) to know more.

- Using posargs to pass arguments to nox sessions : We can now give inputs to `tests` nox session. This makes pybamm's testing infrastructure more modular. It can take inputs any number of files, class or function names and run only those specifically. For example user can now pass `nox -s tests -- tests/unit/test_expression_tree/test_binary_operators.py` to just run tests inside `test_binary_operators.py`. You can follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4334) to know more.

- Testing the build wheels with `cibuildwheel` : After moving to src layout from flat layout, we were ready to implement `cibuildwheel` and test the wheel in CI. To improve the testing time, we just tested if `test_idaklu_solver.py` runs without any error using the `cibw` pytest marker. This is run in CI using `pytest -m cibw`. Follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4341) to know more.
22 changes: 22 additions & 0 deletions content/posts/GSoC-week-6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---

title: "GSoC week 11 and 12"

date: 2024-09-12



---

![GSoC Banner](/GSoC_Banner.png)
<img src = "/GSoC_Banner.png">

This blog will cover the eleventh and twelth week as a GSoC student.

### Work so far and for the coming weeks.

- Migrating tests to pytest part 6 : This PR covered the part 6 of pytest migration. This PR covers a lot of changes to the codebase, leveraging the power of pytest's fixtures and parameterization. With this we moved 18 files to pytest. Follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4354) to know more.

- Migrating tests to pytest part 7 : This is the last PR for pytest migration. Almost all the files were moved to pytest. The ones remaining will be covered in a last PR. To know more follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4431).

- Final pytest migration : This PR covers all the remaining file left from the previous work. With this PR we also conclude the main aim of the project. You can follow the [PR](https://github.com/pybamm-team/PyBaMM/pull/4443) to know more.
Binary file removed content/posts/images/.DS_Store
Binary file not shown.
Binary file removed content/resources/.DS_Store
Binary file not shown.
Binary file removed content/resources/_gen/.DS_Store
Binary file not shown.
Binary file removed static/.DS_Store
Binary file not shown.
Binary file removed themes/.DS_Store
Binary file not shown.

0 comments on commit 8446f69

Please sign in to comment.