sep db / import steps #62
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
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
name: Test make builds | |
jobs: | |
noas-check: | |
runs-on: ${{ matrix.config.os }} | |
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {os: ubuntu-latest, r: '3.6'} | |
- {os: ubuntu-latest, r: '4.3'} | |
- {os: ubuntu-20.04, r: '3.6'} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: r-lib/actions/setup-r@v2 | |
id: install-r | |
with: | |
r-version: ${{ matrix.config.r }} | |
http-user-agent: ${{ matrix.config.http-user-agent }} | |
- name: Make 3rdparty | |
run: make 3rdparty | |
- name: Start DB | |
run: | | |
make run_db & | |
P1=$! | |
sleep 30 | |
wait $P1 | |
- name: Run & Import DB | |
run: | | |
set -e # Enable error handling | |
make run_dbimport |