Skip to content

github action to push #22

github action to push

github action to push #22

Workflow file for this run

name: Main-Workflow
on:
push:
branches: [main]
pull_request:
jobs:
bump-dev-version: # only do that when actually merging in main/develop branch
if: github.event_name != 'pull_request'
uses: ./.github/workflows/bump-dev-version.yaml
secrets: inherit
download-and-unzip-package:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download package
run: wget https://ci.appveyor.com/api/buildjobs/6doci1654f5xsjlw/artifacts/package.zip -O /tmp/package.zip
- name: Unzip package
run: |
unzip -o /tmp/package.zip -d inst/lib > unzip_log.txt 2>&1 || (cat unzip_log.txt && exit 1)
- name: Display unzip log if failed
if: failure()
run: cat unzip_log.txt
- name: Test C# binaries
- uses: EndBug/add-and-commit@v9
with:
message: 'Update Windows C# binaries (Commit from Github Actions).'
default_author: github_actions
add: '*.dll'
R-CMD-Check:
if: ${{ always() }}
needs: [bump-dev-version]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/R-CMD-check-build.yml@main
with:
install-pksim: true
install-rClr: false
extra-packages: |
test-coverage:
if: ${{ always() }}
needs: [R-CMD-Check]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/test-pkg-and-coverage.yml@main
with:
install-pksim: true
install-rClr: false
extra-packages: |
pkgdown:
if: ${{ always() }}
needs: [R-CMD-Check]
uses: Open-Systems-Pharmacology/Workflows/.github/workflows/pkgdown.yml@main
with:
install-pksim: true
install-rClr: false
extra-packages: |