Skip to content

GH actions - Bump to latest. #23

GH actions - Bump to latest.

GH actions - Bump to latest. #23

Workflow file for this run

name: PyTest & Flake8
on: [pull_request]
jobs:
test-and-qa:
name: Operating System - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "macos-latest" ]
defaults:
run:
shell: bash -l {0}
steps:

Check failure on line 16 in .github/workflows/pytest_flake8.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pytest_flake8.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: spectro-dp
environment-file: environment.yml
auto-activate-base: false
- name: Install development dependencies
run: |
conda env update --file environment_dev.yml
- name: Install package
run: |
pip install -e .
- name: Test with pytest
run: |
pytest tests/
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics