PB-37351: Added passbolt component variable #6
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: Push & PR to the main branch | |
on: push | |
jobs: | |
lint: | |
name: Passbolt CE Rootless-${{ matrix.rootless}} ${{ matrix.test_name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
test_name: | |
[ | |
"docker_image", | |
"docker_runtime", | |
"docker_runtime_no_envs", | |
"docker_runtime_with_passbolt_php", | |
] | |
rootless: [true, false] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.4.1" | |
- env: | |
PASSBOLT_COMPONENT: "stable" | |
PASSBOLT_FLAVOUR: "ce" | |
ROOTLESS: ${{ matrix.rootless }} | |
TEST_NAME: ${{ matrix.test_name }} | |
run: | | |
bundle install | |
bundle exec rake spec:$TEST_NAME |