WeatherNext addition. #10645
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
# Continuous Integration (CI) | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
pip install absl-py | |
- name: Debug Python environment | |
run: | | |
pip list | |
echo $PYTHONPATH | |
python -c "import sys; print(sys.path)" | |
- name: Cache bazel | |
uses: actions/cache@v3 | |
env: | |
cache-name: bazel-cache | |
with: | |
path: | | |
~/.cache/bazelisk | |
~/.cache/bazel | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }} | |
restore-keys: ${{ runner.os }}-${{ env.cache-name }}-development | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: bazel build --define jsonnet_port=cpp //... | |
- name: Test Checker | |
run: bazel test --define jsonnet_port=cpp --test_output=errors //... | |
- name: Checker | |
run: bazel-bin/checker/ee_stac_check |