-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: CI
on: [push, repository_dispatch]
jobs:
test:
name: Build and run tests
runs-on: ubuntu-20.04
steps:
- name: Checkout testbed
uses: actions/checkout@v3
with:
path: live_elements_testbed
- name: Checkout live_elements
uses: actions/checkout@v3
with:
repository: launchscout/live_elements
path: live_elements
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: '26.2.1'
elixir-version: '1.16.3-otp-26'
- name: Install testbed dependencies
run: mix deps.get
working-directory: live_elements_testbed
- name: install testbed assets
run: npm install
working-directory: live_elements_testbed/assets
- name: build testbed javascript
run: mix esbuild default
working-directory: live_elements_testbed
- name: Run testbed integration tests
run: mix test
working-directory: live_elements_testbed