Added Poetry version based on Git Tag #209
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 | |
on: | |
pull_request: { } | |
push: | |
branches: [ main ] | |
tags: [ "*" ] | |
# workflow_dispatch: | |
jobs: | |
test: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v2 | |
- run: tree | |
- run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin | |
- run: task setup | |
- run: task security | |
- run: task test | |
env: # These need to be set in the repo or the builds will fail | |
HUBITAT_API_APP_ID: ${{ secrets.HUBITAT_API_APP_ID }} | |
HUBITAT_API_TOKEN: ${{ secrets.HUBITAT_API_TOKEN }} | |
HUBITAT_HOST: ${{ secrets.HUBITAT_HOST }} | |
HUBITAT_CLOUD_TOKEN: ${{ secrets.HUBITAT_CLOUD_TOKEN }} |