Skip to content

Commit

Permalink
Specify macOS version of CIF
Browse files Browse the repository at this point in the history
  • Loading branch information
17451k committed Mar 13, 2020
1 parent f0271d1 commit 0da59a8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: [push, pull_request]

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
Expand All @@ -25,9 +25,18 @@ jobs:
python -m pip install --upgrade pytest
python -m pip install -e .
- name: Download CIF [Ubuntu]
if: startsWith(matrix.os, 'ubuntu')
run: |
curl -sSfL -o cif.tar.xz https://github.com/17451k/cif/releases/download/2020-03-13/cif-8c83608-2020-03-13-linux-x64.tar.xz
- name: Download CIF [macOS]
if: startsWith(matrix.os, 'macos')
run: |
curl -sSfL -o cif.tar.xz https://github.com/17451k/cif/releases/download/2020-03-13/cif-8c83608-2020-03-13-macos.tar.xz
- 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
Expand Down

0 comments on commit 0da59a8

Please sign in to comment.