-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I seem to be addicted to this, because without this I "simply" felt something was missing
- Loading branch information
1 parent
48a8317
commit e53aedd
Showing
5 changed files
with
51 additions
and
1 deletion.
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,35 @@ | ||
--- | ||
name: CI | ||
|
||
"on": [push, workflow_dispatch] | ||
|
||
jobs: | ||
ci: | ||
name: CI | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
otp-version: ['26.1'] | ||
rebar3-version: ['3.22'] | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp-version}} | ||
rebar3-version: ${{matrix.rebar3-version}} | ||
|
||
- run: rebar3 ci | ||
|
||
- run: rebar3 fmt --check | ||
|
||
- run: | | ||
sudo apt-get -y update | ||
sudo apt-get -y install shelltestrunner | ||
rebar3 release | ||
_build/default/rel/simpler_cowboy_rest/bin/simpler_cowboy_rest daemon | ||
shelltest tests/example.test |
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,2 @@ | ||
-name [email protected] | ||
-setcookie bogus |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
{applications, [ | ||
% OTP dependencies | ||
kernel, | ||
sasl, | ||
stdlib, | ||
% External dependencies | ||
cowboy | ||
|