forked from JabRef/abbrv.jabref.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ignore single-name journals with same abbreviation as full name - generate error summary and deploy checker on GitHub Action
- Loading branch information
Showing
2 changed files
with
59 additions
and
6 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,39 @@ | ||
name: Quality Check | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
quality-check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Run Quality Check | ||
run: | | ||
python quality_checker.py | ||
continue-on-error: true | ||
|
||
- name: Upload Quality Check Summary | ||
if: always() | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: quality-check-summary | ||
path: quality_check_summary.txt | ||
|
||
- name: Add Quality Check Summary to Job | ||
if: always() | ||
run: | | ||
echo "Generating GitHub Actions job summary..." | ||
echo 'Quality Check Summary:' >> $GITHUB_STEP_SUMMARY | ||
cat quality_check_summary.txt >> $GITHUB_STEP_SUMMARY |
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