Loading .github/workflows/integration.yaml +3 −13 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: python-version: ['3.7'] subset: ['upload_datatype', 'extended_metadata', 'kubernetes', 'not (upload_datatype or extended_metadata or kubernetes)'] chunk: ['1', '2', '3', '4'] services: postgres: image: postgres:13 Loading @@ -32,19 +32,15 @@ jobs: - name: Prune unused docker image, volumes and containers run: docker system prune -a -f - name: Clean dotnet folder for space if: matrix.subset == 'kubernetes' run: rm -Rf /usr/share/dotnet - name: Setup Minikube if: matrix.subset == 'kubernetes' id: minikube uses: CodingNagger/minikube-setup-action@v1.0.3 with: minikube-version: "1.9.0-0_amd64" - name: Launch Minikube if: matrix.subset == 'kubernetes' run: eval ${{ steps.minikube.outputs.launcher }} - name: Check pods if: matrix.subset == 'kubernetes' run: | kubectl get pods - uses: actions/checkout@v2 Loading @@ -70,19 +66,13 @@ jobs: key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration - name: Install ffmpeg run: sudo apt-get update && sudo apt-get -y install ffmpeg if: matrix.subset == 'upload_datatype' - name: Run tests if: matrix.subset != 'kubernetes' run: './run_tests.sh -integration test/integration -- -k "${{ matrix.subset }}"' working-directory: 'galaxy root' - name: Run tests if: matrix.subset == 'kubernetes' run: | . .ci/minikube-test-setup/start_services.sh ./run_tests.sh -integration test/integration -- -k "${{ matrix.subset }}" ./run_tests.sh -integration test/integration -- --num-shards=4 --shard-id=${{ matrix.chunk }} working-directory: 'galaxy root' - uses: actions/upload-artifact@v2 if: failure() with: name: Integration test results (${{ matrix.python-version }}, ${{ matrix.subset }}) name: Integration test results (${{ matrix.python-version }}, ${{ matrix.chunk }}) path: 'galaxy root/run_integration_tests.html' Loading
.github/workflows/integration.yaml +3 −13 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: python-version: ['3.7'] subset: ['upload_datatype', 'extended_metadata', 'kubernetes', 'not (upload_datatype or extended_metadata or kubernetes)'] chunk: ['1', '2', '3', '4'] services: postgres: image: postgres:13 Loading @@ -32,19 +32,15 @@ jobs: - name: Prune unused docker image, volumes and containers run: docker system prune -a -f - name: Clean dotnet folder for space if: matrix.subset == 'kubernetes' run: rm -Rf /usr/share/dotnet - name: Setup Minikube if: matrix.subset == 'kubernetes' id: minikube uses: CodingNagger/minikube-setup-action@v1.0.3 with: minikube-version: "1.9.0-0_amd64" - name: Launch Minikube if: matrix.subset == 'kubernetes' run: eval ${{ steps.minikube.outputs.launcher }} - name: Check pods if: matrix.subset == 'kubernetes' run: | kubectl get pods - uses: actions/checkout@v2 Loading @@ -70,19 +66,13 @@ jobs: key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration - name: Install ffmpeg run: sudo apt-get update && sudo apt-get -y install ffmpeg if: matrix.subset == 'upload_datatype' - name: Run tests if: matrix.subset != 'kubernetes' run: './run_tests.sh -integration test/integration -- -k "${{ matrix.subset }}"' working-directory: 'galaxy root' - name: Run tests if: matrix.subset == 'kubernetes' run: | . .ci/minikube-test-setup/start_services.sh ./run_tests.sh -integration test/integration -- -k "${{ matrix.subset }}" ./run_tests.sh -integration test/integration -- --num-shards=4 --shard-id=${{ matrix.chunk }} working-directory: 'galaxy root' - uses: actions/upload-artifact@v2 if: failure() with: name: Integration test results (${{ matrix.python-version }}, ${{ matrix.subset }}) name: Integration test results (${{ matrix.python-version }}, ${{ matrix.chunk }}) path: 'galaxy root/run_integration_tests.html'