-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
358 additions
and
2,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Build and test Jekyll site | ||
name: Build and test website | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.1' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
- name: Build and test | ||
run: bundle exec rake test | ||
- name: Test paper links | ||
run: bundle exec rake test_paper_links |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
source "https://rubygems.org" | ||
gem "jekyll", "~> 4.3.3" | ||
gem "webrick", "~> 1.7" | ||
|
||
group :jekyll_plugins do | ||
gem "jekyll-scholar" | ||
end | ||
|
||
|
||
gem "webrick", "~> 1.7" | ||
group :test do | ||
gem "rake" | ||
gem "html-proofer", "~> 5.0.9" | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
require 'html-proofer' | ||
|
||
task :test do | ||
sh "bundle exec jekyll build" | ||
HTMLProofer.check_directory('_site/', { | ||
assume_extension: ['.html'], | ||
ignore_urls: [ | ||
# These urls lead to some errors in html-proofer and were manually checked to be valid | ||
'https://qcomp.org/benchmarks/index.html#crowds', | ||
'https://qcomp.org/benchmarks/index.html#jobs', | ||
'http://fizzed.com/oss/font-mfizz', | ||
'https://cavconference.org/2017/accepted-papers', | ||
'https://www.cse.msu.edu/~cse870/Materials/FaultTolerant/manual-galileo.htm#Editing%20in%20the%20Textual%20View', | ||
'https://getfem.org/gmm.html', | ||
'https://tempest-synthesis.org', | ||
], | ||
}).run | ||
end | ||
|
||
task :test_paper_links do | ||
sh "bundle exec jekyll build" | ||
HTMLProofer.check_file('paper_links.html', { | ||
enforce_https: false, | ||
}).run | ||
end |
Oops, something went wrong.