Skip to content

Only retry failed tests if the tests ran and failed #178

Only retry failed tests if the tests ran and failed

Only retry failed tests if the tests ran and failed #178

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
test:
name: Lint
env:
MIX_ENV: test
runs-on: ubuntu-latest
container:
image: ghcr.io/bitcrowd/chromic_pdf:alpine-3-17-3
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --privileged --user 1001
steps:
- uses: actions/checkout@v3
- name: Dependencies cache
id: deps-cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-deps-v1-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: Build artifacts cache
id: build-and-plts-cache
uses: actions/cache@v3
with:
path: |
_build
.plts
key: ${{ runner.os }}-build-and-plts-v1-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- run: mix local.hex --force && mix local.rebar
- run: mix deps.get
- run: mix compile
- run: mix lint