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 59b23a3
Show file tree
Hide file tree
Showing 2 changed files with 25 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
33 changes: 23 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,31 @@ 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: |
cat ~/.docker/config.json
- name: Docker Login Windows
if: matrix.os == 'windows-2022'
run: |
echo "${{ secrets.GITHUB_TOKEN }}".ToUpper()
Get-Content -Path ${env:USERPROFILE}/.docker/config.json
echo "3d6472b9-3d49-4d17-9fc9-90d24258043b" | docker login -u=githubactions --password-stdin
# - 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 59b23a3

Please sign in to comment.