From 1630e32fc334b90f3c43438f959df46af49640dd Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Fri, 17 Mar 2023 10:22:13 +0000 Subject: [PATCH 1/3] add GHA tests --- .github/workflows/test.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..bd6c5c6 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,21 @@ +name: test-bib + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + sudo apt-get install bibtool -y + - name: Test formatting + run: | + bibtool -i mdolab.bib -o mdolab-formatted.bib -r bibdesk2mdolab.bibtoolrsc + diff mdolab.bib mdolab-formatted.bib + From f1de5b4d5fd62a566b63009c2ba37a971a8ebb2b Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Fri, 17 Mar 2023 10:25:47 +0000 Subject: [PATCH 2/3] rename bibtool resource file --- bibdesk2mdolab.bibtoolrsc => .bibtoolrsc | 0 .github/workflows/test.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bibdesk2mdolab.bibtoolrsc => .bibtoolrsc (100%) diff --git a/bibdesk2mdolab.bibtoolrsc b/.bibtoolrsc similarity index 100% rename from bibdesk2mdolab.bibtoolrsc rename to .bibtoolrsc diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bd6c5c6..9ba5410 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,6 @@ jobs: sudo apt-get install bibtool -y - name: Test formatting run: | - bibtool -i mdolab.bib -o mdolab-formatted.bib -r bibdesk2mdolab.bibtoolrsc + bibtool -i mdolab.bib -o mdolab-formatted.bib -r .bibtoolrsc diff mdolab.bib mdolab-formatted.bib From 45b6b0ecd9fce84d597460c4a185682f6d8e8164 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Fri, 17 Mar 2023 10:59:09 +0000 Subject: [PATCH 3/3] add codeowners --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..931989d --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @mdolab/bib_file_maintainers \ No newline at end of file