forked from coreyti/playwright-elixir
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 785 Bytes
/
ci.yml
File metadata and controls
32 lines (30 loc) · 785 Bytes
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
name: Playwright-Elixir CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
all:
name: Build & Test
runs-on: ubuntu-20.04
env:
MIX_ENV: test
PLAYWRIGHT_TRANSPORT: driver
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.16.2'
otp-version: '26.2.5'
- name: Install Elixir dependencies
run: mix deps.get
- name: Install Playwright dependencies (e.g., browsers)
run: mix playwright.install
# NOTE: not needed for now, while assets are
# directly installed to `priv/static`.
# - name: Install Node dependencies
# run: npm install --prefix assets
- name: Run tests
run: mix test