-
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 #73 from jaeyson/72-move-benchmark-as-a-mix-task
Move benchmark as a mix task
- Loading branch information
Showing
17 changed files
with
337 additions
and
149 deletions.
There are no files selected for viewing
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,14 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "mix" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "hex" | ||
- "dependencies" |
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,28 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
check_commit_message: | ||
name: skips CI and prints cli message, without fail build badge | ||
runs-on: ubuntu-latest | ||
if: "contains(github.event.head_commit.message, '[skip ci]')" | ||
steps: | ||
- run: echo "no need to build, based from commit message" | ||
|
||
publish_to_hex: | ||
name: "Publish to Hex" | ||
runs-on: ubuntu-latest | ||
|
||
# doesn't contain "ci skip" in commit message | ||
if: "!contains(github.event.head_commit.message, '[skip ci]')" | ||
steps: | ||
run: | | ||
mix hex.config api_key ${{ secrets.HEX_API_KEY }} | ||
mix hex.publish --yes |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
alias FreecodecampElixir.AlgoProjects | ||
alias FreecodecampElixir.BasicAlgo | ||
alias FreecodecampElixir.IntermediateAlgo | ||
alias FreecodecampElixir.Benchmarks | ||
|
||
require Logger |
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,5 +1,11 @@ | ||
# Changelog | ||
|
||
## 0.2.0 (2024.12.04) | ||
|
||
- Benchmarks as mix task | ||
- Bump dependencies' versions | ||
- Tidy docs | ||
|
||
## 0.1.0 (2022.09.04) | ||
|
||
* Initial release | ||
- Initial release |
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 |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"skip_files": [ | ||
"benchmarks/", | ||
"lib/mix/" | ||
], | ||
"terminal_options": { | ||
"file_column_width": 60 | ||
} | ||
} | ||
"skip_files": ["lib/freecodecamp_elixir/benchmarks/", "lib/mix/"], | ||
"terminal_options": { | ||
"file_column_width": 60 | ||
} | ||
} |
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
Oops, something went wrong.