Skip to content

Merge pull request #142 from jdebacker/0.19.0 #41

Merge pull request #142 from jdebacker/0.19.0

Merge pull request #142 from jdebacker/0.19.0 #41

Workflow file for this run

name: Build Package and Test Source Code [Python 3.10, 3.11, 3.12]
on:
push:
branches:
- master
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@master
with:
persist-credentials: false
- name: Setup Miniconda using Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: paramtools-dev
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Build
shell: bash -l {0}
run: |
pip install -e .
- name: Test
shell: bash -l {0}
working-directory: ./
run: |
pytest paramtools -v -s