Skip to content

Commit

Permalink
add github action to test that the conversion script runs
Browse files Browse the repository at this point in the history
  • Loading branch information
n-a-t-e committed Feb 17, 2021
1 parent 3364ea4 commit 7910f84
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test JSON to Netcdf conversion

on:
push:
branches-ignore: [master]

pull_request:
branches: [master, odf_transform]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified
- run: python -m pip install -e cioos_data_transform/ios_data_transform
- working-directory: odf_transform/test
run: python test_odf.py

0 comments on commit 7910f84

Please sign in to comment.