Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed May 3, 2023
1 parent 1525091 commit 4f5232e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,13 @@ jobs:
# ${{ runner.os }}-nimble-${{ matrix.nim-version}}-
# if: runner.os != 'Windows'
- name: Setup nim
uses: jiro4989/setup-nim-action@v1.3.2
uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-version }}

- name: Install Packages
run: nimble install -y
- name: Install slim
run: nimble install slim -y
- name: server -d:chronosStrictException check
run: nim c -d:chronosStrictException src/scorper/http/streamserver.nim
- name: Test
run: slim --silent test
run: nimble --silent test
6 changes: 3 additions & 3 deletions scorper.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "Apache License 2.0"
srcDir = "src"
skipDirs = @["tests","examples","experiments","benchmark","artwork"]
installExt = @["nim"]
namedbin = {"./scorper/http/routermacros":"routermacros" }.toTable()
# namedbin = {"./scorper/http/routermacros":"routermacros" }.toTable()
# Dependencies

requires "nim >= 1.3.1"
Expand Down Expand Up @@ -57,8 +57,8 @@ task bench_h,"benchmark simple responses with httpbeast":
task strict, "stric async exception check":
exec "nimble test -d:chronosStrictException"

before test:
requires "asynctest"

taskRequires "test", "asynctest"

task profile,"profiling":
let c = readFile("benchmark/simple_resp.nim")
Expand Down

0 comments on commit 4f5232e

Please sign in to comment.