Skip to content

Add BUFR file creation script and fix unit test bug in test_get_bufr.py #398

Add BUFR file creation script and fix unit test bug in test_get_bufr.py

Add BUFR file creation script and fix unit test bug in test_get_bufr.py #398

Workflow file for this run

on:
pull_request:
types: [opened, reopened, synchronize, edited]
workflow_dispatch:
jobs:
test:
name: unit_test
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['3.8','3.9','3.10']
steps:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Checkout repo
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install eccodes
run : |
sudo apt-get install -y libeccodes-dev
- name: Install dependencies
shell: bash
run: |
python3 -m pip install --upgrade pip
python3 -m pip install Bottleneck
python3 -m pip install --upgrade setuptools
cd $GITHUB_WORKSPACE
pip install .
- name: Run unit tests
shell: bash
run: |
python3 -m unittest discover tests