Skip to content

Merge branch 'develop' of github.com:ecmwf/tracksuite into develop #23

Merge branch 'develop' of github.com:ecmwf/tracksuite into develop

Merge branch 'develop' of github.com:ecmwf/tracksuite into develop #23

Workflow file for this run

name: ci-tracksuite
# Controls when the workflow will run
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
qa:
name: qa
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- run: pip install black flake8 isort
- run: isort --check .
- run: black --check .
- run: flake8 .
setup:
name: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: python -m pip install .
test:
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Dummy User"
- run: python -m pip install .[test]
- run: python -m pytest . -v