CI #22
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
schedule: | |
- cron: '0 10 * * *' | |
jobs: | |
build: | |
name: "Package stability ${{ matrix.stability }}" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
strategy: | |
matrix: | |
stability: [ 'stable', 'lowest' ] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Build Container | |
run: make build | |
- name: Install Dependencies | |
run: COMPOSER_STABILITY=${{ matrix.stability }} make install | |
- name: Run Linter | |
run: make lint | |
- name: Run Static Analysis | |
run: make stan | |
- name: Run Tests | |
run: make test |