Unverified Commit 8c1ca528 authored by Vít Novotný's avatar Vít Novotný
Browse files

Add GitHub Actions workflow

parent 51c02adc
name: Run Python Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: 3.7
- run: |
python -m pip install --upgrade pip
pip install .
- run: |
python setup.py test
stages:
- evaluate
run_evaluate:
image: ubuntu:18.04
stage: evaluate
variables:
trec_eval: 'yes'
script:
- apt update && apt install -y build-essential make git
- git clone https://github.com/usnistgov/trec_eval.git
- make -j -C trec_eval
- ./evaluate.sh
tags:
- mir
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment