diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index a1554d8..40528f9 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 \ No newline at end of file + run: nimble --silent test \ No newline at end of file diff --git a/scorper.nimble b/scorper.nimble index 94dc088..0df940d 100644 --- a/scorper.nimble +++ b/scorper.nimble @@ -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" @@ -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")