Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ name: Python Unit Tests

on:
push:
branches: [ "main" ]
branches:
- '**' # Matches every branch (feature branches, main, etc.)
pull_request:
branches: [ "main" ]
branches:
- '**' # Runs tests for PRs targeting any branch

jobs:
test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'

steps:
- name: Checkout code
Expand All @@ -19,11 +23,12 @@ jobs:
with:
python-version: '3.10'

- name: Install dependencies
- name: Install System Dependencies
run: |
python -m pip install --upgrade pip
pip install pytest click numpy
sudo apt-get update
sudo apt-get install -y libudunits2-dev # This is the missing piece

- name: Run Pytest
- name: Install Python Dependencies
run: |
pytest
python -m pip install --upgrade pip
pip install pytest click numpy cf-python cftime
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
missing*
.DS_Store
.ipynb_checkpoints
*.ipynb
.nfs*
.html
__pycache__
Expand Down Expand Up @@ -40,3 +41,5 @@ docs/*.aux
docs/*.log
docs/*.toc
docs/*.synctex.gz

*failed*.txt
Binary file modified docs/Technical_Report_CFA_CANARI.pdf
Binary file not shown.
Loading
Loading