Skip to content

Commit

Permalink
Enable int test
Browse files Browse the repository at this point in the history
  • Loading branch information
rfung-tla authored and rfung777 committed Aug 13, 2024
1 parent 5975496 commit dda4080
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ name: "Python CI"

on:
push:
# branches:
# - 'main'
branches:
- 'main'
pull_request:

concurrency:
Expand Down
37 changes: 27 additions & 10 deletions .github/workflows/python-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ name: "Python Integration"

on:
push:
branches:
- 'main'
pull_request:

concurrency:
Expand All @@ -31,16 +29,35 @@ concurrency:

jobs:
integration-test:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "windows-2022"]

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install
run: make install
- name: Run integration tests
run: make test-integration
- name: Show debug logs
if: ${{ failure() }}
run: docker compose -f dev/docker-compose.yml logs
- name: Docker Login Ubuntu
if: matrix.os == 'ubuntu-20.04'
run: |
set
export
cat ~/.docker/config.json
- name: Docker Login Windows
if: matrix.os == 'windows-2022'
run: |
set
echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u=githubactions --password-stdin
- name: Print Status
run: |
echo "Done"
# - name: Install
# run: make install
# - name: Run integration tests
# run: make test-integration
# - name: Show debug logs
# if: ${{ failure() }}
# run: docker compose -f dev/docker-compose.yml logs

0 comments on commit dda4080

Please sign in to comment.