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

Add GitHub Actions workflow

parent 51c02adc
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
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

.gitlab-ci.yml

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
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