-
Set up development enviroment.
-
Pull updates
git pull
-
Checkout new branch.
- for new branches:
or
git checkout -b <branch_name> # for new branhces
git branch <branch_name> git checkout <branch_name>
- for existing branches:
git checkout <branch_name>
- for new branches:
-
Program
-
Compile and deploy code
pio run # Compiles pio run -t upload # Deploys
or use the GUI:
-
Run Tests
pio testor use the GUI:
-
Finally push changes to repository
git add -A git commit -m "<commit_type>(<package>): <description>" git push # git push -u origin <branch_name> if it is a new branch
Note that the commit message should more or less follow the Conventional Commits norms
-
Create a Pull Request to the main branch, assigning yourself and selecting reviewers
-
Verify successful workflows
When you perform any pio actions, you are performing them on all default environments. If you want to run tests on a specific environment:
pio test --environment [environment_name]or compile and deploy...
pio run -t upload --environment [environment_name]

