Fix conditional header generation for NMR JCAMP export #682
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push] | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
activate-environment: python-v38 | |
environment-file: environment.yml | |
miniforge-version: latest | |
- name: Test with pytest | |
shell: bash -el {0} | |
run: | | |
conda activate python-v38 | |
python -m pytest |