Skip to content

Commit

Permalink
Extract e2e tests steps to separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-gpijanski committed Aug 23, 2023
1 parent 3abafe8 commit 4085603
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,9 @@ jobs:
path: dist/*.whl
if-no-files-found: error

- name: Set up Docker Buildx
if: matrix.node_version == '19.x'
uses: docker/setup-buildx-action@7703e82fbced3d0c9eec08dff4429c023a5fd9a9 # v2.9.1

- name: Build docker images
if: matrix.node_version == '19.x'
run: ./dev.py e2e-build-images "--streamlit-version=${{ env.STREAMLIT_VERSION }}" "--python-version=${{ env.PYTHON_VERSION }}"

- name: Run e2e tests
if: matrix.node_version == '19.x'
run: ./dev.py e2e-run-tests "--streamlit-version=${{ env.STREAMLIT_VERSION }}" "--python-version=${{ env.PYTHON_VERSION }}"
uses: ./.github/workflows/e2e-tests.yaml

build-cookiecutter:
runs-on: ubuntu-latest
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# .github/workflows/e2e-tests.yaml

jobs:
e2e-tests:
runs-on: ubuntu-latest

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@7703e82fbced3d0c9eec08dff4429c023a5fd9a9 # v2.9.1

- name: Build docker images
run: ./dev.py e2e-build-images "--streamlit-version=${{ env.STREAMLIT_VERSION }}" "--python-version=${{ env.PYTHON_VERSION }}"

- name: Run e2e tests
run: ./dev.py e2e-run-tests "--streamlit-version=${{ env.STREAMLIT_VERSION }}" "--python-version=${{ env.PYTHON_VERSION }}"

0 comments on commit 4085603

Please sign in to comment.