Compare bitstyles versions numerically #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: unit | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '25.1' | |
elixir-version: '1.14.5' | |
- run: mix deps.get | |
- run: mix format --check-formatted | |
- run: mix test | |
- run: mix credo --strict | |
- run: mix docs | |
- name: Check if versions showcase mix script finishes | |
run: mix run scripts/generate_version_showcase.ex | |
test-unlocked-deps: | |
runs-on: ubuntu-latest | |
name: unit (unlocked deps) | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '25.1' | |
elixir-version: '1.14.5' | |
- run: mix deps.unlock --all | |
- run: mix deps.get | |
- run: mix test | |
demo: | |
runs-on: ubuntu-latest | |
name: demo | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '25.1' | |
elixir-version: '1.14.5' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: nanasess/setup-chromedriver@v2 | |
- run: cd demo && mix deps.get | |
- run: cd demo && mix format --check-formatted | |
- run: cd demo/assets && npm install | |
- run: cd demo && mix test |