Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bxb100 committed Nov 6, 2024
1 parent 0e56145 commit 67a2700
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,27 @@ jobs:
matrix:
type: ['server', 'connect']
platform: [ubuntu-latest, windows-latest, macos-latest]
exclude:
# without windows image
- type: connect
platform: windows-latest
# runner without docker
- type: connect
platform: macos-latest
runs-on: ${{ matrix.platform }}

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Setup Docker
if: ${{ matrix.platform == 'macos-latest' }}
run: brew install docker-compose

- name: Setup Connect Server
id: setup-connect-server
if: ${{ matrix.type == 'connect' }}
run: |
echo ${{ secrets.OP_CONNECT_CREDENTIALS }} > 1password-credentials.json
echo '${{ secrets.OP_CONNECT_CREDENTIALS }}' > 1password-credentials.json
cp .github/fixture/docker-compose.yml docker-compose.yml
docker-compose up -d
docker compose up -d && sleep 10
- name: Test Connect
id: test-connect
Expand Down

0 comments on commit 67a2700

Please sign in to comment.