628 Commits

Author SHA1 Message Date
Felipe Seré
2921a744c1 Merge pull request #289 from Iftakharpy/master
Some checks failed
Elixir CI / Build and test (push) Has been cancelled
Fix inconsistent printing of meditation
2024-03-27 14:51:18 +00:00
Iftakhar Husan
be4b4fd5a0 Add capability to run workflow manually 2024-03-01 01:26:28 +02:00
Iftakhar Husan
2353ad0d0f Fix failing tests for progress_bar changes 2024-03-01 01:06:30 +02:00
Iftakhar Husan
70c76693a6 Improve progress bar
This improves progress bar by:
- Adding progress percentage
- Calculating progress bar underline based on the text length of progress bar
2024-03-01 01:01:14 +02:00
Iftakhar Husan
0920d10801 Fix in consistent printing of meditation
This fixes the issues I observed while solving the koans.
Some of the issues I noticed are:
- Random vertical position of printing koans
- Sometimes koan intro printed before clear screen
- Next koan does not appear when all koan passes for a module
2024-03-01 00:43:22 +02:00
Jay Hayes
0eb56c2805 Merge pull request #285 from imahmedismail/imahmedismail/some-code-optimisations
[in-review] Code optimisations via adding the credo
2023-11-10 07:11:14 -06:00
Jay Hayes
07f24b3298 Fix results from $ mix credo suggest --all --strict 2023-11-10 07:07:51 -06:00
Jay Hayes
ec227f71b9 More explicit credo command in CI 2023-11-10 07:07:39 -06:00
Jay Hayes
9a6999e2f6 Skip a couple warnings 2023-11-10 07:00:43 -06:00
Jay Hayes
cbd5df43af Run credo in CI 2023-11-10 07:00:34 -06:00
Ahmed Ismail
ca3e758e93 Revert back test/blanks_test.exs to original state 2023-11-10 13:20:17 +05:00
Ahmed Ismail
edf50fdf80 Add credo to the project and:
- Run mix credo --all to identify possible code optimizations
 - Resolve most of the errors generated by credo such as:
   - Numbers larger than 9999 should be written with underscores: 58_127
   - Modules should have a @moduledoc tag
   - Comparison will always return true
2023-11-10 00:57:21 +05:00
Jay Hayes
2ca2eeeb20 Merge pull request #284 from medoror/fix/typo
Update 20_comprehensions.ex
2023-08-07 07:24:27 -05:00
Michael Edoror
a03ab27595 Update 20_comprehensions.ex
eachother -> each other typo fix
2023-08-05 13:51:43 -05:00
Jay Hayes
da8c5ac3e0 Merge pull request #282 from pineman/03_numbers_use_threequals
Highlight that Float functions returns float
2023-07-10 09:29:00 -05:00
João Pinheiro
22dc34096d Reduce needless repetition 2023-07-10 14:08:32 +01:00
João Pinheiro
c3ef2f8e3a Slight reword for consistency 2023-07-09 23:49:35 +01:00
João Pinheiro
c3224f9f5e Highlight that Float functions return float 2023-07-09 23:05:05 +01:00
Jay Hayes
a2eaef1670 Merge pull request #281 from gpouilloux/fix/pin-ubuntu-20-github-actions
fix(ci): pin ubuntu-20 to run github actions
2023-03-02 09:12:36 -06:00
Guillaume Pouilloux
f3da523568 fix(ci): pin ubuntu-20 to run github actions 2023-03-02 14:29:26 +01:00
Jay Hayes
48024dc02e Merge pull request #280 from gpouilloux/fix/replace-mix-config-deprecated
fix(config): replace deprecated Mix.Config by Config
2023-03-02 07:16:37 -06:00
Guillaume Pouilloux
713ffc544a fix(config): replace deprecated Mix.Config by Config 2023-03-02 14:09:06 +01:00
Jay Hayes
73a6508433 Merge pull request #276 from elixirkoans/iamvery/better-example
Fix example to actually check message order as desc suggests
2022-06-22 07:29:07 -05:00
Jay Hayes
f3c3bfb93a Fix example to actually check message order as desc suggests
[chore]
2022-06-21 10:08:19 -05:00
Uku Taht
f5e3f75448 Merge pull request #273 from elixirkoans/iamvery/better-failure
Add helpful message when processes koan assertion fails
2022-05-02 09:55:50 +03:00
Jay Hayes
f8e654ffd4 Add helpful message when processes koan assertion fails 2022-04-25 08:13:52 -05:00
Jay Hayes
e2955211c5 Replace Travis CI build badge with GitHub 2022-02-10 08:05:05 -06:00
Jay Hayes
19787233f6 Merge pull request #271 from elixirkoans/iamvery/fix-tests
Fix tests
2022-02-10 08:00:25 -06:00
Jay Hayes
b598df498e Manually manage process rather than relying on linking
This prevents the race condition that was causing issues between koans
as each is run in its own process.
2022-02-10 07:57:49 -06:00
Jay Hayes
11601a6945 Split genserver koans back up 2022-02-10 07:57:30 -06:00
Jay Hayes
090187ce88 Set ExUnit timeout for quicker process debugging 2022-02-01 08:07:45 -06:00
Jay Hayes
20927cc1df Combine Laptop Genserver examples to avoid process leaking issue 2022-02-01 08:07:45 -06:00
Jay Hayes
ad5952c7ab Remove extra, unneeded MapSets answer 2022-02-01 08:07:45 -06:00
Jay Hayes
b8f7d1b411 Name Agent modules to avoid process leaking between examples
🤔 I'm not sure why this was an issue, because the agents are
started with a "link" and each example is run in a process itself...
Seems like we need better isolation between tests.
2022-02-01 08:07:45 -06:00
Jay Hayes
277e43c8dd Fix up test answer values that diverged from example 2022-02-01 08:07:45 -06:00
Jay Hayes
779178299f Install inotify-tools 2022-02-01 08:06:21 -06:00
Jay Hayes
17a34411b9 Create elixir.yml 2022-02-01 08:01:04 -06:00
Jay Hayes
f393c26760 Merge pull request #263 from listx/stricter-watching
be stricter about which files to watch
2021-07-20 20:38:07 -05:00
Linus Arver
a7ee27262f be stricter about which files to watch
Things like flycheck-elixir in Emacs can create temporary files in the
same directory as the upstream files that contain the koans, with a
"flycheck_" prefix but still ending in ".ex". This change makes it so
that we skip such files.
2021-07-20 12:06:12 -07:00
Uku Taht
cfa6f4b696 Merge pull request #260 from parkerd/update-file_system
Update file_system
2021-03-23 09:41:33 +02:00
Parker DeBardelaben
e446d3ed99 Update file_system 2021-03-22 12:33:16 -04:00
Jay Hayes
0f97f4ca03 Merge pull request #255 from jechol/enhance/map_sets
Remove Enum.fetch usage for MapSet
2020-11-09 09:14:49 -06:00
Uku Taht
62c81d0b3f Merge pull request #256 from jechol/enhance/protocol
Change protocol examples
2020-11-09 10:30:46 +02:00
Jechol Lee
93c490cd59 Change protocol examples 2020-09-23 17:43:34 +09:00
Jechol Lee
fe81c4cdda Remove Enum.fetch usage for MapSet 2020-09-23 14:03:51 +09:00
Uku Taht
34000e5eaa Merge pull request #253 from foucist/master
Fix deprecation warnings
2020-08-19 09:46:33 +03:00
James Robey
a2db428c21 Fix deprecated option for OptionParser warning 2020-08-19 12:51:21 +07:00
James Robey
cd9088a8f0 Fix warning for deprecated Range.range?/1 2020-08-19 12:36:40 +07:00
Uku Taht
cbb8c37d27 Merge pull request #252 from foucist/master
Mismatch on koan description and assertion in 07_keyword_lists
2020-08-18 10:28:07 +03:00
James Robey
0203181054 remove duplication of struct defaults 2020-08-18 10:51:05 +07:00