Skip to content

Master

Master #758

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
jobs:
build:
runs-on: ubuntu-latest
# needed for miniconda
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: yaib
environment-file: environment.yml
auto-activate-base: false
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# the GitHub editor is 127 chars wide
flake8 . --count --max-complexity=30 --max-line-length=127 --statistics
# - name: Test with pytest
# run: python -m pytest ./tests/recipes
# If we want to test running the tool later on
# - name: Setup package
# run: pip install -e .
# - name: Test command line tool
# run: python -m icu_benchmarks.run --help