Fix caching issue #903
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, 3.9, "3.10"] | |
steps: | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: pre-install requirements | |
run: pip install -r requirements.txt | |
- name: Install strax | |
run: python setup.py install | |
- name: Test import | |
run: python -c "import strax; print(strax.__version__)" | |
- name: goodbye | |
run: echo goodbye |