Skip to content

handle extra kwargs sent to set_mass #482

handle extra kwargs sent to set_mass

handle extra kwargs sent to set_mass #482

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pychron Install via EDM with unittest suite
on:
push:
branches: [ dev/dc, dev/dr, hot/dr, hot/dc]
pull_request:
branches: [ dev/dc, dev/dr, hot/dr, hot/dc]
jobs:
build:
name: Pychron Install via EDM (${{ matrix.python-version }}, ${{ matrix.os }})
strategy:
matrix:
os: [ macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Cache EDM packages
uses: actions/cache@v2
with:
path: ~/.cache
key: ${{ runner.os }}--${{ hashFiles('requirements.txt') }}
- name: Setup EDM
uses: enthought/setup-edm-action@v1
with:
edm-version: 3.1.1
- name: Install EDM dependencies
run: >
edm install -y chaco certifi cython envisage future gitpython keyring jinja2 lxml numpy pandas patsy pillow
pip pyface pyparsing pyproj pymysql pyqt5 pytables pyyaml pygments qt Reportlab requests
scipy sqlalchemy traits xlrd xlsxwriter xlwt pytest statsmodels
- name: Install PIP dependencies
run: >
~/.edm/envs/edm/bin/python -m pip install --no-dependencies uncertainties qimage2ndarray peakutils
- name: Test with unittest
run: |
~/.edm/envs/edm/bin/python -m unittest pychron/test_suite.py