Remove example and previous lib directories #614
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: Continuous Integration | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
name: ${{ matrix.suite }} - Ruby ${{ matrix.ruby }} | |
strategy: | |
fail-fast: false | |
matrix: | |
suite: | |
- 'app' | |
- 'client-tests' | |
- 'test' | |
ruby: | |
- '3.2.2' | |
# - '3.1.4' | |
# - '3.0.4' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Database | |
run: docker compose up dbsetup | |
- name: Create .env | |
run: | | |
echo "UID=$(id -u)" > .env | |
echo "GID=$(id -g)" >> .env | |
- if: matrix.suite == 'app' | |
run: | | |
docker compose build --build-arg RUBY_VERSION=${{ matrix.ruby }} app-dev | |
docker compose run app-dev | |
- if: matrix.suite == 'client-tests' | |
run: | | |
docker compose build --build-arg RUBY_VERSION=${{ matrix.ruby }} client-tests | |
docker compose run client-tests | |
- if: matrix.suite == 'test' | |
run: | | |
docker compose build --build-arg RUBY_VERSION=${{ matrix.ruby }} app apache | |
docker compose up dbsetup | |
docker compose run test |