1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 08:46:41 +01:00

Compare commits

..

6 Commits

Author SHA1 Message Date
2f8dd8d489
Merge pull request #168 from projekteuler/use-github-actions
Use Github Actions for tests
2020-12-08 12:21:55 +01:00
5468ea6d8d Remove Travis CI 2020-12-08 12:13:38 +01:00
414c1e76cd Use Github Actions for tests 2020-12-08 11:56:32 +01:00
6c626bb15d
Merge pull request #162 from projekteuler/dependabot/bundler/bootstrap-4.5.3
Bump bootstrap from 4.5.2 to 4.5.3
2020-12-08 10:54:09 +01:00
76fab428d7 Update Travis environment 2020-12-08 10:16:03 +01:00
dependabot-preview[bot]
9d7d88b40d
Bump bootstrap from 4.5.2 to 4.5.3
Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 13:17:13 +00:00
5 changed files with 34 additions and 21 deletions

28
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [ $default-branch ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Set up Node
uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Install dependencies
run: bundle install --without production
- name: Run tests
run: bundle exec rake
env:
RAILS_ENV: test

View File

@ -1,15 +0,0 @@
dist: trusty
language: ruby
cache: bundler
rvm:
- 2.7
- 2.6
- 2.5
bundler_args: --without production
before_install:
- yes | gem update --system --force
- gem install bundler
script:
- export RAILS_ENV=test
- bundle exec rake db:schema:load
- bundle exec rake test

View File

@ -39,7 +39,7 @@ gem 'web-console', '~> 4.1.0', group: :development
# Use Codacy for coverage # Use Codacy for coverage
gem 'codacy-coverage', :require => false gem 'codacy-coverage', :require => false
gem 'bootstrap', '~> 4.5.2' gem 'bootstrap', '~> 4.5.3'
gem "bootstrap_form", "~> 4.5" gem "bootstrap_form", "~> 4.5"
gem 'font-awesome-sass', '~> 5.15.1' gem 'font-awesome-sass', '~> 5.15.1'

View File

@ -58,13 +58,13 @@ GEM
zeitwerk (~> 2.2, >= 2.2.2) zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0) addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0) public_suffix (>= 2.0.2, < 5.0)
autoprefixer-rails (9.8.6.1) autoprefixer-rails (10.0.2.0)
execjs execjs
bcrypt (3.1.16) bcrypt (3.1.16)
bindex (0.8.1) bindex (0.8.1)
bootsnap (1.5.1) bootsnap (1.5.1)
msgpack (~> 1.0) msgpack (~> 1.0)
bootstrap (4.5.2) bootstrap (4.5.3)
autoprefixer-rails (>= 9.1.0) autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2) popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0) sassc-rails (>= 2.0.0)
@ -220,7 +220,7 @@ GEM
turbolinks (5.2.1) turbolinks (5.2.1)
turbolinks-source (~> 5.2) turbolinks-source (~> 5.2)
turbolinks-source (5.2.0) turbolinks-source (5.2.0)
tzinfo (1.2.7) tzinfo (1.2.8)
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (4.2.0) uglifier (4.2.0)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
@ -248,7 +248,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
bootsnap bootsnap
bootstrap (~> 4.5.2) bootstrap (~> 4.5.3)
bootstrap_form (~> 4.5) bootstrap_form (~> 4.5)
codacy-coverage codacy-coverage
coffee-rails (~> 5.0.0) coffee-rails (~> 5.0.0)

View File

@ -1,7 +1,7 @@
Projekt Euler Projekt Euler
============= =============
[![Build Status](https://travis-ci.com/projekteuler/projekteuler.svg?branch=master)](https://travis-ci.org/projekteuler/projekteuler) ![Build Status](https://github.com/projekteuler/projekteuler/workflows/CI/badge.svg)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/68921bff5347435f8fff10c1d6872568)](https://www.codacy.com/app/projekteuler/projekteuler) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/68921bff5347435f8fff10c1d6872568)](https://www.codacy.com/app/projekteuler/projekteuler)
This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteuler.de). This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteuler.de).