Create ci.yaml #15
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
name: "CI" | |
on: | |
pull_request: | |
branches: | |
- main | |
- v** | |
push: | |
branches: | |
- test-deployment | |
- v** | |
tags: | |
- v* | |
jobs: | |
# General init section to setup global variables e.g., compiler version, test os | |
build-and-test: | |
# Workaround for environment variables as workflow parameters: https://github.com/orgs/community/discussions/26671 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Run unit tests | |
run: cd deployment && chmod +x ./run-unit-tests.sh && ./run-unit-tests.sh |