mirror of
https://github.com/projekteuler/projekteuler.git
synced 2026-01-27 18:48:49 +01:00
Compare commits
11 Commits
1e68cdcbb3
...
use-github
| Author | SHA1 | Date | |
|---|---|---|---|
| 5468ea6d8d | |||
| 414c1e76cd | |||
| 6c626bb15d | |||
| 76fab428d7 | |||
|
|
9d7d88b40d | ||
| 132828483c | |||
| 0953f262a4 | |||
| 96f8a151f0 | |||
|
|
4e10a186f5 | ||
|
|
909ea52715 | ||
|
|
6786767424 |
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
|
||||
4
Gemfile
4
Gemfile
@@ -32,14 +32,14 @@ gem 'turbolinks', '~> 5.2.1'
|
||||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
||||
gem 'jbuilder', '~> 2.10.1'
|
||||
# bundle exec rake doc:rails generates the API under doc/api.
|
||||
gem 'sdoc', '~> 2.0.0', group: :doc
|
||||
gem 'sdoc', '~> 2.0.2', group: :doc
|
||||
|
||||
gem 'web-console', '~> 4.1.0', group: :development
|
||||
|
||||
# Use Codacy for coverage
|
||||
gem 'codacy-coverage', :require => false
|
||||
|
||||
gem 'bootstrap', '~> 4.5.2'
|
||||
gem 'bootstrap', '~> 4.5.3'
|
||||
gem "bootstrap_form", "~> 4.5"
|
||||
gem 'font-awesome-sass', '~> 5.15.1'
|
||||
|
||||
|
||||
16
Gemfile.lock
16
Gemfile.lock
@@ -58,13 +58,13 @@ GEM
|
||||
zeitwerk (~> 2.2, >= 2.2.2)
|
||||
addressable (2.7.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
autoprefixer-rails (9.8.6.1)
|
||||
autoprefixer-rails (10.0.2.0)
|
||||
execjs
|
||||
bcrypt (3.1.16)
|
||||
bindex (0.8.1)
|
||||
bootsnap (1.5.0)
|
||||
bootsnap (1.5.1)
|
||||
msgpack (~> 1.0)
|
||||
bootstrap (4.5.2)
|
||||
bootstrap (4.5.3)
|
||||
autoprefixer-rails (>= 9.1.0)
|
||||
popper_js (>= 1.14.3, < 2)
|
||||
sassc-rails (>= 2.0.0)
|
||||
@@ -200,7 +200,7 @@ GEM
|
||||
sprockets (> 3.0)
|
||||
sprockets-rails
|
||||
tilt
|
||||
sdoc (2.0.0)
|
||||
sdoc (2.0.2)
|
||||
rdoc (>= 5.0)
|
||||
simplecov (0.18.1)
|
||||
docile (~> 1.1)
|
||||
@@ -220,7 +220,7 @@ GEM
|
||||
turbolinks (5.2.1)
|
||||
turbolinks-source (~> 5.2)
|
||||
turbolinks-source (5.2.0)
|
||||
tzinfo (1.2.7)
|
||||
tzinfo (1.2.8)
|
||||
thread_safe (~> 0.1)
|
||||
uglifier (4.2.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
@@ -231,7 +231,7 @@ GEM
|
||||
activemodel (>= 6.0.0)
|
||||
bindex (>= 0.4.0)
|
||||
railties (>= 6.0.0)
|
||||
webmock (3.9.4)
|
||||
webmock (3.10.0)
|
||||
addressable (>= 2.3.6)
|
||||
crack (>= 0.3.2)
|
||||
hashdiff (>= 0.4.0, < 2.0.0)
|
||||
@@ -248,7 +248,7 @@ PLATFORMS
|
||||
|
||||
DEPENDENCIES
|
||||
bootsnap
|
||||
bootstrap (~> 4.5.2)
|
||||
bootstrap (~> 4.5.3)
|
||||
bootstrap_form (~> 4.5)
|
||||
codacy-coverage
|
||||
coffee-rails (~> 5.0.0)
|
||||
@@ -265,7 +265,7 @@ DEPENDENCIES
|
||||
rails-controller-testing
|
||||
rails-i18n (~> 6.0.0)
|
||||
sassc-rails (~> 2.1.2)
|
||||
sdoc (~> 2.0.0)
|
||||
sdoc (~> 2.0.2)
|
||||
sqlite3 (~> 1.4.1)
|
||||
turbolinks (~> 5.2.1)
|
||||
tzinfo-data
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Projekt Euler
|
||||
=============
|
||||
|
||||
[](https://travis-ci.org/projekteuler/projekteuler)
|
||||

|
||||
[](https://www.codacy.com/app/projekteuler/projekteuler)
|
||||
|
||||
This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteuler.de).
|
||||
|
||||
Reference in New Issue
Block a user