Skip to content

Update README.md

Update README.md #377

Workflow file for this run

name: unit-tests
on:
pull_request:
push:
schedule:
- cron: "0 7 * * 1" # Run every Monday at 7:00 UTC
defaults:
run:
shell: bash -el {0}
jobs:
unit-test:
name: Unittesting on ubuntu with python latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Conda and parcels
uses: ./.github/actions/install-plasticparcels
with:
environment-file: environment.yml
environment-name: py3_parcels
- name: Unit test
run: |
coverage run -m pytest -v -s tests
coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
flags: unit-tests
token: ${{ secrets.CODECOV_TOKEN }}