Skip to content

Commit

Permalink
Merge pull request #17 from praekeltfoundation/feature/DELTA-1228/bro…
Browse files Browse the repository at this point in the history
…wsable-faqs-automated-tests

Browsable FAQs automated tests
  • Loading branch information
rudigiesler authored Sep 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 24ba7d9 + c6bf4f0 commit b34ad92
Showing 6 changed files with 597 additions and 296 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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.2.1
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/"
Loading

0 comments on commit b34ad92

Please sign in to comment.