Benchmarked Resiliparse & added flag to evaluate parsers individually #48
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
name: Evaluate | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
evaluator: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: Run Evaluation | |
id: evaluation | |
run: | | |
RESULT=$(python3 evaluate.py) | |
echo "${RESULT}" | |
# hack for multiline output | |
RESULT="${RESULT//'%'/'%25'}" | |
RESULT="${RESULT//$'\n'/'%0A'}" | |
RESULT="${RESULT//$'\r'/'%0D'}" | |
echo "::set-output name=result::${RESULT}" |