Tooling and CI set up + 1st four exercises (#25) #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Completed the hello-world and leap exercises.
Updated configuration.
Add workflow in test.yml
Modified CI workflow to build Odin from source
Completed difference-of-squares, added format-all
Completed the difference-of-squares practice exercise, and added the
bin/format-all.sh
script that recursively searches for .odin files and runsodinfmt
on them.All source files have been reformatted with the
odinfmt.json
spec.bin/format-all.sh
is now run automatically on commit.The
test.yml
GitHub workflow now pushes any changes that it makes, so that they persist in the repo.test.yml
now only attempts a commit and push if the automated formatting actually changed any files.Added missing dashes in argument
Fixed bin/verify-exercises
The verify-exercises script now runs the individual test for both concept and practice exercises, and is the default in the GitHub workflow.
Tests were lifted from the Gleam track.
Formatted config files with configlet
Fixed testing bug that clobbered stub solutions
Added resistor-color exercise. Updated README.
Fixed and tested the test.yml action
The workflow now uses a fixed commit hash to pull a specific release of Odin. We now use Ubuntu 22.04 which has the libffi8 dependency, and add clang as the only other dependency.
Implemented the resistor-color exercise
Removed configlet dependency in test.yml
Moved the exercise checklist to a linked GH issue
Test runner now checks that stub solution fails
Added a check to bin/run-test.sh so that verifies that the stub solution does not pass any tests. Fixed hello-world.odin to actually be a stub.
Removed fancy terminal color commands
Added support for skipping and unskipping tests