File tree Expand file tree Collapse file tree 3 files changed +78
-0
lines changed
Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Integration Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy-integration-tests :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Set up Python 3.12
14+ uses : actions/setup-python@v2.2.1
15+ with :
16+ python-version : 3.12
17+
18+ - name : Checkout repository and submodules
19+ uses : actions/checkout@v2
20+
21+ - name : Install and configure Poetry
22+ env :
23+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
24+ uses : snok/install-poetry@v1
25+ with :
26+ version : 1.8.3
27+ virtualenvs-create : true
28+ virtualenvs-in-project : true
29+ installer-parallel : true
30+
31+ - name : Install
32+ run : |
33+ poetry export --without-hashes --format=requirements.txt > requirements.txt
34+ pip install -r requirements.txt
35+
36+ - name : Configure Beta9
37+ env :
38+ BETA9_TOKEN : ${{ secrets.BEAM_INTEGRATION_TEST_TOKEN }}
39+ run : |
40+ touch inputs.txt
41+ echo gateway.stage.beam.cloud >> inputs.txt
42+ echo 443 >> inputs.txt
43+ echo $BETA9_TOKEN >> inputs.txt
44+ cat inputs.txt | beta9 config create default
45+
46+ - name : Deploy
47+ run : cd tests && beta9 deploy app.py:run_tests -n integration-tests
Original file line number Diff line number Diff line change 1+ token config create test1 --token testtoken --gateway-host gateway.stage.beam.cloud --gateway-port 443
2+ token config create test1 --token testtoken --gateway-host gateway.stage.beam.cloud --gateway-port 443
3+ token config create test2 --token testtoken --gateway-host gateway.stage.beam.cloud --gateway-port 443
Original file line number Diff line number Diff line change 1+ # Generated by Beta9 SDK
2+ .beta9ignore
3+ pyproject.toml
4+ .git
5+ .idea
6+ .python-version
7+ .vscode
8+ .venv
9+ venv
10+ __pycache__
11+ .DS_Store
12+ .config
13+ drive/MyDrive
14+ .coverage
15+ .pytest_cache
16+ .ipynb
17+ .ruff_cache
18+ .dockerignore
19+ .ipynb_checkpoints
20+ .env.local
21+ .envrc
22+ **/__pycache__/
23+ **/.pytest_cache/
24+ **/node_modules/
25+ **/.venv/
26+ *.pyc
27+ .next/
28+ .circleci
You can’t perform that action at this time.
0 commit comments