Add feature: load multiple beams to simulation #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.py" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check: | |
name: Check code | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install deps (library & development) | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade flake8 pylint | |
python -m pip install -r requirements.txt | |
- name: Run flake8 current python versions | |
run: python -m flake8 redpic tests setup.py | |
- name: Run pylint current python versions | |
run: python -m pylint redpic tests setup.py |