From 2f6dff8ec572600d77f920ab41f7b987e54bdb5c Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Wed, 12 Jul 2023 14:56:11 +0300 Subject: [PATCH] fix: new Crystal version and Coveralls parser (#90) --- .github/workflows/build.yml | 4 ++-- .github/workflows/ci.yml | 6 +++--- Makefile | 2 +- shard.lock | 8 ++++---- shard.yml | 2 +- src/coverage_reporter/parser.cr | 1 + 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd66caa2..507c179b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - name: Install Crystal uses: crystal-lang/install-crystal@v1 with: - crystal: 1.8 + crystal: 1.9 - run: shards install --production @@ -66,7 +66,7 @@ jobs: - name: Install Crystal uses: crystal-lang/install-crystal@v1 with: - crystal: 1.8 + crystal: 1.9 - name: Build (Linux) run: make release_linux diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f6b0507..90f4c54e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - name: Install Crystal uses: crystal-lang/install-crystal@v1 with: - crystal: 1.8 + crystal: 1.9 - name: Install dependencies run: shards install - name: Run tests @@ -32,7 +32,7 @@ jobs: - name: Install Crystal uses: crystal-lang/install-crystal@v1 with: - crystal: 1.8 + crystal: 1.9 - name: Install dependencies run: shards install - name: Run linter @@ -45,7 +45,7 @@ jobs: - name: Install Crystal uses: crystal-lang/install-crystal@v1 with: - crystal: 1.8 + crystal: 1.9 - run: make build - name: Install kcov run: | diff --git a/Makefile b/Makefile index ae27ae4a..4b4a185a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ UUID := $(shell id -u) GUID := $(shell id -g) -CRYSTAL_VERSION := 1.8 +CRYSTAL_VERSION := 1.9 build: shards build coveralls --progress --error-trace diff --git a/shard.lock b/shard.lock index 5692ce54..b0be1776 100644 --- a/shard.lock +++ b/shard.lock @@ -2,7 +2,7 @@ version: 2.0 shards: ameba: git: https://github.com/crystal-ameba/ameba.git - version: 1.4.2 + version: 1.4.3+git.commit.a33f98624a30a62cdf03affe32e7469ab2287f9f crystal-kcov: git: https://github.com/vici37/crystal-kcov.git @@ -10,7 +10,7 @@ shards: db: git: https://github.com/crystal-lang/crystal-db.git - version: 0.11.0 + version: 0.12.0 spectator: git: https://gitlab.com/arctic-fox/spectator.git @@ -18,9 +18,9 @@ shards: sqlite3: git: https://github.com/crystal-lang/crystal-sqlite3.git - version: 0.19.0 + version: 0.20.0 webmock: git: https://github.com/manastech/webmock.cr.git - version: 0.14.0+git.commit.42b347cdd64e13193e46167a03593944ae2b3d20 + version: 0.14.0 diff --git a/shard.yml b/shard.yml index 4e496096..b9457ca3 100644 --- a/shard.yml +++ b/shard.yml @@ -14,11 +14,11 @@ dependencies: development_dependencies: webmock: github: manastech/webmock.cr - branch: master spectator: gitlab: arctic-fox/spectator ameba: github: crystal-ameba/ameba + branch: master crystal-kcov: github: vici37/crystal-kcov diff --git a/src/coverage_reporter/parser.cr b/src/coverage_reporter/parser.cr index 4b3560de..63604c23 100644 --- a/src/coverage_reporter/parser.cr +++ b/src/coverage_reporter/parser.cr @@ -23,6 +23,7 @@ module CoverageReporter GcovParser, GolangParser, CoveragepyParser, + CoverallsParser, } class NotFound < BaseException