Skip to content

Package and Metadata Cleanup #423

Package and Metadata Cleanup

Package and Metadata Cleanup #423

Workflow file for this run

name: finch-wps Testing Suite
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Code linting
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install flake8
run: pip install flake8
- name: Run linting suite
run: flake8
conda:
name: Conda
needs: lint
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Setup conda and environment
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
environment-file: environment.yml
create-args: >-
conda
python=${{ matrix.python-version }}
- name: Conda and Mamba versions
run: |
conda --version
echo "micromamba: $(micromamba --version)"
- name: Install finch-wps
run: |
make develop
- name: Check versions
run: |
conda list
pip check
- name: Run tests
run: |
make start
sleep 2
make test-notebooks
make test