feat(cli): allow for more environment than staging (#138) #482
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
# .github/workflows/app.yaml | |
name: PyTest | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
# Setup Python (faster than using Python container) | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade setuptools wheel | |
- name: Build | |
run: make build | |
- name: Install wheel | |
run: pip install dist/*.whl | |
- name: Run tests | |
env: | |
CRUNCH_API_KEY: ${{ secrets.CRUNCH_API_KEY }} | |
run: make test |