Skip to content

Commit

Permalink
Update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljfarrell committed Nov 18, 2020
1 parent a9f2d19 commit 4e9c5f1
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@ on:
- master
pull_request:
branches:
- '*'
- "*"

jobs:
conda-build:
name: Conda ${{ matrix.python-version }} - ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
python-version: ['3.7']
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.7"]

steps:
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1.1.2
with:
channels: conda-forge
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash -l {0}
run: |
conda install -c conda-forge Rtree
python -m pip install --upgrade pip
- name: Install pvtrace
shell: bash -l {0}
run: |
pip install -e .
- name: Test with pytest
shell: bash -l {0}
run: |
pip install pytest
pytest tests
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
channels: conda-forge
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash -l {0}
run: |
conda install -c conda-forge Rtree
python -m pip install --upgrade pip
- name: Install pvtrace
shell: bash -l {0}
run: |
pip install -e .
- name: Test with pytest
shell: bash -l {0}
run: |
pip install pytest
pytest tests

0 comments on commit 4e9c5f1

Please sign in to comment.