-
-
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.
- Loading branch information
1 parent
fbfed48
commit 74d5b76
Showing
6 changed files
with
71 additions
and
69 deletions.
There are no files selected for viewing
File renamed without changes.
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,27 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: { ruby-version: ["3.2.2"], dir: ["./hacker-rank"] } | ||
env: | ||
CONSTRAINT_ENFORCEMENT_ENABLED: "enabled" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler: "Gemfile.lock" | ||
bundler-cache: true | ||
- name: Lock bundle | ||
run: bundle lock --add-platform x86_64-linux | ||
|
||
- name: Run tests | ||
run: bundle exec rake |
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,39 @@ | ||
name: Continuous Integration - Rust | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
{ | ||
dir: | ||
[ | ||
"./advents-of-code/2022/day-01", | ||
"./advents-of-code/2022/day-02", | ||
"./advents-of-code/2022/day-03", | ||
"./advents-of-code/2022/day-04", | ||
"./advents-of-code/2022/day-05", | ||
"./advents-of-code/2022/day-06", | ||
"./advents-of-code/2022/day-07", | ||
"./advents-of-code/2022/day-08", | ||
"./advents-of-code/2022/day-09", | ||
"./advents-of-code/2022/day-10", | ||
], | ||
} | ||
defaults: | ||
run: | ||
working-directory: ${{ matrix.dir }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.