Fix integration test (#211)

This commit is contained in:
Alek Petuskey 2023-01-04 22:01:25 -08:00 committed by GitHub
parent 2543e48a30
commit fe81916a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,8 @@ jobs:
- name: Clone Pynecone Website Repo - name: Clone Pynecone Website Repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: pynecone-io/pynecone-website repository: pynecone-io/pcweb
path: pynecone-website path: pcweb
# Install poetry # Install poetry
- name: cache poetry install - name: cache poetry install
@ -63,11 +63,11 @@ jobs:
run: poetry install --no-interaction --no-root run: poetry install --no-interaction --no-root
if: steps.cache-deps.outputs.cache-hit != 'true' if: steps.cache-deps.outputs.cache-hit != 'true'
- name: Install Requirements - name: Install Requirements
working-directory: ./pynecone-website/pcweb working-directory: ./pcweb
run: poetry run pip install -r requirements.txt run: poetry run pip install -r requirements.txt
- name: Init Website - name: Init Website
working-directory: ./pynecone-website/pcweb working-directory: ./pcweb/pcweb
run: poetry run pc init run: poetry run pc init
- name: Run Website - name: Run Website
working-directory: ./pynecone-website/pcweb working-directory: ./pcweb/pcweb
run: timeout 1m poetry run pc run || exit 0 run: timeout 1m poetry run pc run || exit 0