Skip to content

feat: add update link route and method #67

feat: add update link route and method

feat: add update link route and method #67

Workflow file for this run

name: Test 🧪
on:
workflow_dispatch:
# Triggers the workflow on pull request events but only for the main branch
pull_request:
branches: # matches refs/heads/main``
- 'main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
runs-on: ubuntu-latest
container: node:10.18-jessie
name: Create Coverage Report
services:
postgres:
image: postgres
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
otp: [24.0]
elixir: [1.13.2]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-elixir@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Get dependencies
run: mix deps.get
- name: Generating XML
run: mix coveralls.json
# todo: remove after tests are added
continue-on-error: true
env:
MIX_ENV: test
DB_HOSTNAME: postgres
DB_NAME: test
DB_USER: postgres
DB_PASSWORD: postgres
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cover/excoveralls.json
directory: cover
fail_ci_if_error: true
verbose: true