SR1 offline simulation strax context #2664
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
# Test if we can actually install strax by installing | |
name: Installation test | |
on: | |
workflow_dispatch: | |
release: | |
types: [created] | |
pull_request: | |
branches: | |
- master | |
- stable | |
push: | |
branches: | |
- master | |
jobs: | |
update: | |
name: "py${{ matrix.python-version }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8] | |
steps: | |
- name: Setup python | |
uses: actions/setup-python@v4.7.0 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: pre-install requirements | |
run: pip install -r requirements.txt | |
- name: Install straxen | |
run: python setup.py install | |
- name: Test import | |
run: python -c "import straxen; straxen.print_versions()" | |
- name: goodbye | |
run: echo goodbye |