Page MenuHomePhorge

No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1813f1d..80319bd 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,91 +1,95 @@
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
elixir:
- 1.9-slim # otp 22
- 1.8-otp-22
- 1.8-slim # otp 21
- 1.7-slim # otp 21
- 1.6-otp-21
- 1.6-slim # otp 20
- 1.5-slim # opt 20
container:
image: elixir:${{ matrix.elixir }}
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v2
- name: Install Dependencies
env:
MIX_ENV: test
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
run: mix test --trace
test-1:
name: run tests against v1.0.0
runs-on: ubuntu-latest
container:
image: elixir:1.6-slim
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v2
- name: Install Dependencies
env:
MIX_ENV: test
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- - uses: srt32/git-actions@v0.0.3
+ - name: Checkout v1.0.0 tests
+ uses: actions/checkout@v2
with:
- args: |
- git remote set-branches origin '*' && \
- git fetch origin v1.0.0-compat && \
- rm -r test && \
- git checkout origin/v1.0.0-compat -- test
+ path: "test-1"
+ ref: "v1.0.0-compat"
- - name: Run Tests for 1.0.0 branch
+ - name: Replace test dir with test-1/test dir
+ run: |
+ ls -la
+ rm -rf test
+ mv test-1/test test
+
+ - name: Run v1.0.0 Tests
run: mix test --trace
test-poison3:
runs-on: ubuntu-latest
container:
image: elixir:1.9-slim
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v2
- name: Install Dependencies
env:
MIX_ENV: test
LOCKFILE: poison3
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests for poison 3.x
env:
MIX_ENV: test
LOCKFILE: poison3
run: mix test --trace
format:
runs-on: ubuntu-latest
container:
image: elixir:1.9-slim
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v2
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Check Format
run: mix format --check-formatted --dry-run

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 28, 1:32 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40790
Default Alt Text
(2 KB)

Event Timeline