Skip to content

Commit

Permalink
Fix: Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHougaard committed May 25, 2024
1 parent c771a3d commit f1592d3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build-napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,9 @@ jobs:
name: Generate schemas
uses: ./.github/workflows/generate-schemas.yml

test-rust-crate:
uses: ./.github/workflows/rust-test.yml
secrets:
INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}

build:
needs:
- generate_schemas
- test-rust-crate
strategy:
fail-fast: false
matrix:
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,10 @@ jobs:
generate_schemas:
uses: ./.github/workflows/generate-schemas.yml

test-rust-crate:
uses: ./.github/workflows/rust-test.yml
secrets:
INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}

bump-version:
name: Version changes
needs:
- generate_schemas
- test-rust-crate
runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags/')
steps:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/release-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@ jobs:
build-napi:
uses: ./.github/workflows/build-napi.yml

test-rust-crate:
uses: ./.github/workflows/rust-test.yml
secrets:
INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}

setup:
needs:
- test-rust-crate
name: Setup
runs-on: ubuntu-22.04
steps:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ jobs:
build-python:
uses: ./.github/workflows/build-python.yml

test-rust-crate:
uses: ./.github/workflows/rust-test.yml
secrets:
INFISICAL_UNIVERSAL_CLIENT_SECRET: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_SECRET }}
INFISICAL_UNIVERSAL_CLIENT_ID: ${{ secrets.INFISICAL_UNIVERSAL_CLIENT_ID }}
INFISICAL_PROJECT_ID: ${{ secrets.INFISICAL_PROJECT_ID }}
INFISICAL_SITE_URL: ${{ secrets.INFISICAL_SITE_URL }}

setup:
needs:
- test-rust-crate
- build-python
name: Setup
runs-on: ubuntu-22.04
Expand Down

0 comments on commit f1592d3

Please sign in to comment.