Skip to content

Merge pull request #24 from praekeltfoundation/feature/DELTA-1323/add… #32

Merge pull request #24 from praekeltfoundation/feature/DELTA-1323/add…

Merge pull request #24 from praekeltfoundation/feature/DELTA-1323/add… #32

Workflow file for this run

name: Run tests
on:
push:
branches: ["*"]
tags: ["v*"]
pull_request:
branches: ["main"]
jobs:
flow-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Elixir install
uses: erlef/setup-beam@v1
with:
elixir-version: "1.17"
otp-version: "27"
- name: Fetch flow tester
uses: actions/checkout@v4
with:
repository: praekeltfoundation/flow_tester
ref: v0.3.5
path: flow_tester
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Check formatting
run: mix format --check-formatted "Browsable FAQs/QA/tests/*.exs"
- name: Test flows
run: ./flow_tester/run_flow_tests.exs "Browsable FAQs/QA/tests/"