Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
17451k committed Mar 13, 2020
1 parent 822d4bb commit 1676208
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pytest
python -m pip install -e .
- name: Install CIF
run: |
curl -sSfL -o cif.tar.xz https://github.com/17451k/cif/releases/download/2019-09-02/cif-20190902-linux-x64.tar.xz
tar xf cif.tar.xz
- name: Test with pytest
run: |
PATH=$GITHUB_WORKSPACE/clade/cif/bin:$PATH pytest

0 comments on commit 1676208

Please sign in to comment.