debug #8
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: Bootstrap | |
on: | |
push: | |
branches: [bootstrap] | |
pull_request: | |
branches: [bootstrap] | |
jobs: | |
build: | |
name: python ${{ matrix.python-version }} on ${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- {python-version: "3.10", os: ubuntu-latest} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install ebcc | |
run: | | |
python -m pip install wheel | |
python -m pip install .[dev] | |
- name: Install dependencies | |
run: | | |
python -m pip install git+https://github.com/obackhouse/albert@master | |
python -m pip install git+https://github.com/edeprince3/pdaggerq@master | |
python -m pip install git+https://github.com/tschijnmo/drudge@master | |
python -m pip install git+https://github.com/obackhouse/gristmill@master | |
python -m pip install git+https://github.com/tschijnmo/DummyRDD@master | |
- name: Bootstrap | |
run: | | |
git checkout bootstrap | |
# add ", k" onto the end of line 2411 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gristmill/optimize.py | |
sed -i '2411s/$/, k/' /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/gristmill/optimize.py | |
chmod +x .github/workflows/bootstrap_all.sh | |
cd ebcc/codegen && ./../../.github/workflows/bootstrap_all.sh | |
- name: Run unit tests | |
run: | | |
python -m pip install pytest | |
pytest |