Skip to content

Merge pull request #135 from simonsobs/dependabot/pip/ci/latest/straw… #339

Merge pull request #135 from simonsobs/dependabot/pip/ci/latest/straw…

Merge pull request #135 from simonsobs/dependabot/pip/ci/latest/straw… #339

Workflow file for this run

name: Run unit tests with Nextline dev
# Test with nextline checked out from GitHub (rather than from PyPI)
# coverage won't be run
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: unit-test-dev-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: Python ${{ matrix.python-version }} on Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
python -m pip install --upgrade pip
pwd
cd ..
git clone https://github.com/simonsobs/nextline.git
pip install -e './nextline'
cd -
pip install -e '.[tests]'
pip list
- name: Run tests
run: |
pytest -vv