Merge pull request #125 from slaclab/epix100_psana1 #592
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: Run Tests | |
on: | |
push: | |
branches: ["main", "development"] | |
pull_request: | |
branches: ["main", "development"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install test-script dependencies | |
run: | | |
pip install pytest | |
pip install numpy | |
pip install scipy | |
pip install statsmodels | |
pip install pillow | |
pip install matplotlib | |
- name: Run tests | |
run: | | |
pytest . |