You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MIPLearn/.github/workflows/main.yml

15 lines
376 B

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v1
- name: Run tests
run: |
rm -rf ~/.conda/envs/miplearn-test
yes | conda create --name miplearn-test python=3.6
~/.conda/envs/miplearn-test/bin/pip install -r requirements.txt
~/.conda/envs/miplearn-test/bin/pytest