Remove surrounding buildings requirement for schedule maker #206
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: Push to Master | |
on: | |
push: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get clean && sudo apt-get update | |
sudo apt-get install -y libgl1 | |
- name: Install Conda environment with Micromamba | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
cache-env: true | |
- name: Install CEA | |
shell: bash -l {0} | |
run: pip install . | |
- name: Run tests | |
shell: bash -l {0} | |
run: cea test --workflow slow | |
badge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make Code Badge | |
uses: shadowmoose/GHA-LoC-Badge@1.0.0 | |
id: badge | |
with: | |
debug: true | |
directory: ./ | |
badge: ./output/badge-lines-of-code.svg | |
ignore: "node_modules/|README" | |
- name: Print the output | |
run: | | |
echo "Scanned: ${{ steps.badge.outputs.counted_files }}"; | |
echo "Line Count: ${{ steps.badge.outputs.total_lines }}"; | |
- name: Deploy to image-data branch | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./output | |
publish_branch: image-data | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
user_name: "github-actions[bot]" | |
user_email: "github-actions[bot]@users.noreply.github.com" |