Skip to content

syntax fix ..

syntax fix .. #47

Workflow file for this run

name: Python package
# on: [push]
on:
push:
# branches:
# - master
paths-ignore:
- 'NUCOS_unit_list.rst'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Test with pytest
run: |
pip install pytest
pip install ./
pytest --pyargs nucos
- name: Check for Debug prints
run: python check_for_prints.py
- name: Write unit file
run: |
python -c "import nucos; nucos.unit_data.all_unit_names()"
git add NUCOS_unit_list.rst
git commit -m "updated the NUCOS unit list"
git push