mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Compare commits
6 Commits
132828483c
...
2f8dd8d489
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f8dd8d489 | |||
| 5468ea6d8d | |||
| 414c1e76cd | |||
| 6c626bb15d | |||
| 76fab428d7 | |||
|
|
9d7d88b40d |
28
.github/workflows/ci.yml
vendored
Normal file
28
.github/workflows/ci.yml
vendored
Normal 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
|
||||||
15
.travis.yml
15
.travis.yml
@ -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
|
|
||||||
2
Gemfile
2
Gemfile
@ -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'
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
Projekt Euler
|
Projekt Euler
|
||||||
=============
|
=============
|
||||||
|
|
||||||
[](https://travis-ci.org/projekteuler/projekteuler)
|

|
||||||
[](https://www.codacy.com/app/projekteuler/projekteuler)
|
[](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).
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user