Skip to content

Commit

Permalink
Add tests, fix references.
Browse files Browse the repository at this point in the history
  • Loading branch information
jendrikseipp committed Oct 14, 2023
1 parent ca89e18 commit 47a4ecb
Show file tree
Hide file tree
Showing 10 changed files with 1,855 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt-get install texlive-latex-base
- name: Check bibtex files
run: |
cd tests/paper
make test
make test-short
1 change: 0 additions & 1 deletion crossref.bib
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ @Proceedings{avocs2004
booktitle = "Proceedings of the Fourth International Workshop on Automated Verification of Critical Systems (AVoCS 2004)",
series = "Electronic Notes in Theoretical Computer Science",
volume = "128",
number = "6",
publisher = "Springer-Verlag",
year = "2005"
}
Expand Down
12 changes: 5 additions & 7 deletions literatur.bib
Original file line number Diff line number Diff line change
Expand Up @@ -3646,7 +3646,8 @@ @InProceedings{dawson-siklossy-ijcai1977
}

@Misc{ddv,
title = "Deutscher {D}oppelkopf {V}erband",
author = "Deutscher {D}oppelkopf {V}erband",
title = "Homepage",
url = "http://www.doko-verband.de",
note = "[Online; in German; accessed 2015-04-28]",
year = "2015"
Expand Down Expand Up @@ -4129,7 +4130,7 @@ @inproceedings{dong-et-al-iclr2019
crossref = "iclr2019",
}

%% Data taken from reprint at "https://saltworks.stanford.edu/assets/yf330xx7624.pdf"
%% Data taken from reprint at "https://saltworks.stanford.edu/assets/yf330xx7624.pdf"
@Article{doran-michie-rsl1966,
author = "James E. Doran and Donald Michie",
title = "Experiments with the Graph Traverser program",
Expand Down Expand Up @@ -5900,13 +5901,12 @@ @InProceedings{geffner-aaai2022
}

@Book{geffner-bonet-2013,
author = "H{\'e}ctor Geffner and Blai Bonet",
author = "Hector Geffner and Blai Bonet",
title = "A Concise Introduction to Models and Methods
for Automated Planning",
series = "Synthesis Lectures on Artificial Intelligence
and Machine Learning",
volume = "7",
number = "2",
publisher = "Morgan \& Claypool",
year = "2013"
}
Expand Down Expand Up @@ -6864,7 +6864,6 @@ @Book{hamilton-2020
title = "Graph Representation Learning",
series = "Synthesis Lectures on Artificial Intelligence and Machine Learning",
volume = "14",
number = "3",
publisher = "Morgan \& Claypool",
year = "2020"
}
Expand Down Expand Up @@ -6977,7 +6976,6 @@ @Book{haslum-et-al-2019
title = "An Introduction to the Planning Domain Definition Language",
series = "Synthesis Lectures on Artificial Intelligence and Machine Learning",
volume = "13",
number = "2",
publisher = "Morgan \& Claypool",
year = "2019"
}
Expand Down Expand Up @@ -10882,7 +10880,7 @@ @Book{mausam-kolobov-2012
author = "Mausam and Andrey Kolobov",
title = "Planning with Markov Decision Processes: An {AI} Perspective",
series = "Synthesis Lectures on Artificial Intelligence and Machine Learning",
publisher = "Morgan {\&} Claypool Publishers",
publisher = "Morgan \& Claypool",
year = "2012"
}

Expand Down
8 changes: 8 additions & 0 deletions tests/paper/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.aux
*.bbl
*.blg
*.fdb_latexmk
*.fls
*.log
*.pdf
*.synctex.gz
24 changes: 24 additions & 0 deletions tests/paper/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
PREFIX = paper
PREFIXSHORT = paper-short
LATEX = pdflatex -interaction=nonstopmode -halt-on-error
BIBTEX = bibtex
BIBINPUTS = ../../
SHELL = /bin/bash

paper:
$(LATEX) $(PREFIX).tex
$(BIBTEX) -min-crossrefs=99 $(PREFIX)
$(LATEX) $(PREFIX).tex
$(LATEX) $(PREFIX).tex
$(LATEX) $(PREFIX).tex

test:
$(LATEX) $(PREFIX).tex > /dev/null
($(BIBTEX) -min-crossrefs=99 $(PREFIX) | grep "Warning--" | grep -v "Warning--to sort, need editor or key in") && exit 1

test-short:
$(LATEX) $(PREFIXSHORT).tex > /dev/null
($(BIBTEX) -min-crossrefs=99 $(PREFIXSHORT) | grep "Warning--" | grep -v "Warning--to sort, need editor or key in") && exit 1

clean:
rm -f *~ {$(PREFIX),$(PREFIXSHORT)}.{aux,bbl,blg,fdb_latexmk,fls,log,out,synctex.gz}
Loading

0 comments on commit 47a4ecb

Please sign in to comment.