-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from SEAME-pt/jmoreira01
- Loading branch information
Showing
44 changed files
with
1,163 additions
and
129 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/workflows/ex02_test.yml → .github/workflows/m00ex02_test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: C++ CI with GoogleTest | ||
name: m00ex02 | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: m01ex00 | ||
|
||
on: | ||
push: | ||
branches: | ||
- jmoreira01 | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cmake g++ make | ||
- name: Build and run tests | ||
run: | | ||
cd Modules/Module01/ex00 | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
ctest --output-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: m01ex01 | ||
|
||
on: | ||
push: | ||
branches: | ||
- jmoreira01 | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cmake g++ make | ||
- name: Build and run tests | ||
run: | | ||
cd Modules/Module01/ex01 | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
ctest --output-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: m01ex02 | ||
|
||
on: | ||
push: | ||
branches: | ||
- jmoreira01 | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cmake g++ make | ||
- name: Build and run tests | ||
run: | | ||
cd Modules/Module01/ex02 | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
ctest --output-on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,4 +48,4 @@ | |
"streambuf": "cpp", | ||
"typeinfo": "cpp" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# José Moreira (jmoreira) | ||
## Profile Pic: ![José Moreira](jmoreira.jpeg "jmoreira") | ||
## Call me by this name: Zé | ||
## Cohort: Nov 2024 | ||
## Email ID: jose.moreira@seame.pt | ||
## LinkedIn: [José Moreira](https://linkedin.com/in/zemiguelmoreira) | ||
## Slack ID: jmoreira | ||
## GitHub ID: [zeira42](https://github.com/zeira42) | ||
## About me: | ||
- Whether it's code or boulders, I’m all about cracking tough problems. | ||
## Project Links: | ||
- [warm-up](https://github.com/SEAME-pt/Team06-SEAME-warm-up) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# JOURNAL (jmoreira) | ||
## Module00 | ||
- Learning .md and installing Markdown extension | ||
- Learning about qt and installing it | ||
- Learning how to make proper tests | ||
### GitHub | ||
- Research about mono repos and git submodules | ||
- Setting up github projects and team | ||
- Learning how to manage git pull request and git branch rules | ||
- Experimenting with GitHub Actions | ||
- Linked Project Issues with pull request to be close on approval | ||
- Research GitHub Labeling good practices | ||
- Link Action to Issue | ||
### ex02 | ||
- Github action with GTest | ||
- Using CMake for the first time | ||
- Remembering basic C++ like syntax and use of references, lvalues, rvalues | ||
### ex03 | ||
- Remembering C++ classes | ||
- Github action for compile check | ||
- Replacing \n with std::endl, avoiding buffer not to flush. std::flush after \n is also an option | ||
- Creating try and catch blocks to do a better job error handling and also makes life easier when using GTest | ||
### Thoughts | ||
- Realizing one advantage of submodules: since filesystem changed in main branch, I will have to take extra steps to ensure the GitHub Action I setup will function | ||
- There might be a need for new GitHub Label for Issues that are tasks and research | ||
- Need to free myself from old 42 rules like using C++98 only | ||
### Todo | ||
- Module01 | ||
- Gherkin and Cucumber research and implementation | ||
- Working with Qt | ||
### Difficulties | ||
- When I started coding ex03 I did not manage exceptions the right way and the way the methods are built (very dependent on user input), isn't the best for testing, but still possible with mock user inputs. Think about testing before coding will be a priority from now on. | ||
- Tried creating a friend class for testing in ex03 but still couldn't access private stuff. Will move on to m01 without implementing the test because of the time I've already spent on this. Might be CMake issue with linking or compiler issue... | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.