chore(docker): bump flex docker to php8.5 #42
Workflow file for this run
This file contains hidden or 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
| # Run BATS tests for bash scripts in 8.1.0, binary, and flex Docker contexts. | |
| # Ensures all scripts have valid syntax and expected structure. | |
| name: BATS Tests (8.1.0, binary, flex) | |
| on: | |
| push: | |
| branches: [master] | |
| paths: | |
| - '.github/workflows/test-bats.yml' | |
| - 'tests/bats/**' | |
| - 'docker/openemr/8.1.0/**' | |
| - 'docker/openemr/binary/**' | |
| - 'docker/openemr/flex/**' | |
| pull_request: | |
| branches: [master] | |
| paths: | |
| - '.github/workflows/test-bats.yml' | |
| - 'tests/bats/**' | |
| - 'docker/openemr/8.1.0/**' | |
| - 'docker/openemr/binary/**' | |
| - 'docker/openemr/flex/**' | |
| jobs: | |
| bats-810: | |
| name: BATS 8.1.0 | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Bats | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-core.git /tmp/bats-core | |
| /tmp/bats-core/install.sh "$HOME/bats" | |
| echo "$HOME/bats/bin" >> "$GITHUB_PATH" | |
| echo "PATH=$HOME/bats/bin:$PATH" >> "$GITHUB_ENV" | |
| - name: Install Bats assertion libraries | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-support.git tests/bats/test_helper/bats-support | |
| git clone --depth 1 https://github.com/bats-core/bats-assert.git tests/bats/test_helper/bats-assert | |
| - name: Run BATS tests (8.1.0) | |
| run: bats tests/bats/8.1.0/ | |
| bats-binary: | |
| name: BATS binary | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Bats | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-core.git /tmp/bats-core | |
| /tmp/bats-core/install.sh "$HOME/bats" | |
| echo "$HOME/bats/bin" >> "$GITHUB_PATH" | |
| echo "PATH=$HOME/bats/bin:$PATH" >> "$GITHUB_ENV" | |
| - name: Install Bats assertion libraries | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-support.git tests/bats/test_helper/bats-support | |
| git clone --depth 1 https://github.com/bats-core/bats-assert.git tests/bats/test_helper/bats-assert | |
| - name: Run BATS tests (binary) | |
| run: bats tests/bats/binary/ | |
| bats-flex: | |
| name: BATS flex | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Bats | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-core.git /tmp/bats-core | |
| /tmp/bats-core/install.sh "$HOME/bats" | |
| echo "$HOME/bats/bin" >> "$GITHUB_PATH" | |
| echo "PATH=$HOME/bats/bin:$PATH" >> "$GITHUB_ENV" | |
| - name: Install Bats assertion libraries | |
| run: | | |
| git clone --depth 1 https://github.com/bats-core/bats-support.git tests/bats/test_helper/bats-support | |
| git clone --depth 1 https://github.com/bats-core/bats-assert.git tests/bats/test_helper/bats-assert | |
| - name: Run BATS tests (flex) | |
| run: bats tests/bats/flex/ |