Beam pipeline for generating paper results end-to-end #1
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: Test beam | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
PYTEST_ADDOPTS: "--color=yes" | |
jobs: | |
test: | |
name: py${{ matrix.python-version }} | |
runs-on: "ubuntu-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- name: 🛍️ Checkout | |
uses: actions/checkout@v4 | |
- name: 🔁 Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: 🐝 Install deps | |
shell: bash -l {0} | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r ci/requirements-beam.txt | |
python -m pip install -e . --no-deps | |
python -m pip install pytest | |
- name: 🐍 List env | |
shell: bash -l {0} | |
run: | | |
python -m pip list | |
- name: 🏃 Run tests | |
shell: bash -l {0} | |
run: pytest -vv tests/test_beam.py |