Skip to content

fix: Add another write to ensure flushing #480

fix: Add another write to ensure flushing

fix: Add another write to ensure flushing #480

Workflow file for this run

name: Integration CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
integration-ci:
name: Integration Testing
strategy:
fail-fast: true
matrix:
os:
- ubuntu-22.04
node:
- 20
ruby:
- '3.2'
elixir:
- '1.15'
otp:
- '26'
runs-on: ${{ matrix.os }}
steps:
# Check out code
- uses: actions/[email protected]
with:
persist-credentials: false
# Typescript Setup
- uses: pnpm/[email protected]
with:
package_json_file: ts/package.json
- uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: pnpm
cache-dependency-path: ts/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
working-directory: ./ts
- run: pnpm build
working-directory: ./ts
# Ruby Setup
- uses: ruby/[email protected]
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
working-directory: ./ruby
# Elixir Setup
- uses: erlef/[email protected]
id: install
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- run: mix 'do' deps.get, deps.compile, compile
working-directory: ./elixir
- run: mkdir -p suite
# Generate
- name: Generate Typescript Integration Suite
run: pnpm cli:generate ../suite
working-directory: ./ts
- name: Generate Ruby Integration Suite
run: bundle exec ruby -S bin/app-identity-suite-ruby generate ../suite
working-directory: ./ruby
- name: Generate Elixir Integration Suite
run: mix app_identity generate ../suite
working-directory: ./elixir
# Run
- name: Run Typescript Verification
run: pnpm cli:run ../suite | ../integration/tapview
working-directory: ./ts
- name: Run Ruby Verification
run: bundle exec ruby -S bin/app-identity-suite-ruby run ../suite | ../integration/tapview
working-directory: ./ruby
- name: Run Elixir Integration Suite
run: mix app_identity run ../suite | ../integration/tapview
working-directory: ./elixir