Skip to content

Merge pull request #48 from ChristopherMayes/add_bunching #105

Merge pull request #48 from ChristopherMayes/add_bunching

Merge pull request #48 from ChristopherMayes/add_bunching #105

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
channels: conda-forge
activate-environment: pmd_beamphysics-dev
environment-file: environment.yml
# - name: flake8
# shell: bash -l {0}
# run: |
# flake8 .
- name: Install openPMD-beamphysics
shell: bash -l {0}
run: |
pip install --no-dependencies .
- name: Run Tests
shell: bash -l {0}
run: |
pytest tests