Merge pull request #45 from ChristopherMayes/astra_fixes #80
Workflow file for this run
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: 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 |