Merge pull request #562 from supabase/use-stable-rust #669
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: tests | |
on: | |
pull_request: | |
push: { branches: master } | |
jobs: | |
test: | |
name: Run tests | |
strategy: | |
matrix: | |
postgres: [14, 15, 16] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build docker images | |
run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml build | |
- name: Run tests | |
run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml run test |