Update mkdocs.yml to avoid run twice tests #673
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
# Triggers the workflow on push or pull request events | |
on: [push, pull_request, workflow_dispatch] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
#container: | |
# image: perl:5.30 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Install libdb-dev | |
run: sudo apt-get -y install libdb-dev | |
- name: Install R | |
run: sudo apt-get -y install r-base | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
#- name: Checkout AGAT | |
- uses: actions/checkout@v2 | |
- name: Setup Perl | |
uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: '5.30' | |
install-modules-with: cpanm | |
install-modules-args: --notest --force | |
install-modules: File::ShareDir::Install Devel::Cover::Report::Coveralls | |
- uses: webiny/[email protected] | |
id: post-run-command | |
if: ${{ failure() }} | |
with: | |
run: cat /home/runner/.cpanm/build.log | |
- name: install AGAT deps | |
run: cpanm --installdeps --notest --force . | |
- name: test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEVEL_COVER_OPTIONS: "+ignore,^local/" | |
run: cover -test -report Coveralls |