From db59383eee59a6536852ec70f4b45ad1afe9c6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Sat, 23 Dec 2023 00:35:26 +0100 Subject: [PATCH] Enable GitHub actions. --- .github/workflows/ci.yml | 33 +++++++++++++++++ Gemfile.lock | 77 ---------------------------------------- 2 files changed, 33 insertions(+), 77 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 Gemfile.lock diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9f9a27b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +--- +name: CI + +on: + - pull_request + - push + +env: + TESTOPT: "-v" + +concurrency: + group: ${{ github.ref_name }} + cancel-in-progress: true + +jobs: + test: + name: Ruby + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby: + - "3.0" + - "3.1" + - "3.2" + - "ruby-head" + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - run: bundle exec rake test diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index 2e821dc..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,77 +0,0 @@ -PATH - remote: . - specs: - invoice_printer (2.2.0) - e2mmap - json (~> 2.1) - matrix - prawn (~> 2.4) - prawn-table (~> 0.2.2) - invoice_printer_server (2.2.0) - invoice_printer (= 2.2.0) - json (~> 2.1) - puma (>= 3.9.0) - roda (~> 3.5) - -GEM - remote: https://rubygems.org/ - specs: - Ascii85 (1.1.0) - afm (0.2.2) - benchmark_driver (0.15.17) - benchmark_driver-output-gruff (0.3.1) - benchmark_driver (>= 0.12.0) - gruff - e2mmap (0.1.0) - gruff (0.14.0) - histogram - rmagick - hashery (2.1.2) - histogram (0.2.4.1) - json (2.6.3) - matrix (0.1.0) - minitest (5.15.0) - nio4r (2.5.8) - pdf-core (0.9.0) - pdf-inspector (1.3.0) - pdf-reader (>= 1.0, < 3.0.a) - pdf-reader (2.11.0) - Ascii85 (~> 1.0) - afm (~> 0.2.1) - hashery (~> 2.0) - ruby-rc4 - ttfunk - pkg-config (1.5.1) - prawn (2.4.0) - pdf-core (~> 0.9.0) - ttfunk (~> 1.7) - prawn-table (0.2.2) - prawn (>= 1.3.0, < 3.0.0) - puma (6.0.2) - nio4r (~> 2.0) - rack (3.0.4.1) - rack-test (2.0.2) - rack (>= 1.3) - rake (13.0.6) - rmagick (5.1.0) - pkg-config (~> 1.4) - roda (3.64.0) - rack - ruby-rc4 (0.1.5) - ttfunk (1.7.0) - -PLATFORMS - x86_64-linux - -DEPENDENCIES - benchmark_driver (= 0.15.17) - benchmark_driver-output-gruff - bundler (>= 1.7) - invoice_printer_server! - minitest - pdf-inspector - rack-test - rake (>= 10.0) - -BUNDLED WITH - 2.4.3