mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00

This uses a matrix configuration to set up all the various configurations we're testing tracks with. It also adds testing on ruby 3.0 and testing postgres with all the various ruby versions.
13 lines
No EOL
311 B
YAML
13 lines
No EOL
311 B
YAML
---
|
|
name: Automated tests
|
|
on: pull_request
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy: matrix
|
|
matrix:
|
|
ruby: ["2.5", "2.6", "2.7", "3.0"]
|
|
db: [sqlite, mysql, postgres]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- run: bash -x script/cibuild ${{ matrix.ruby }} ${{ matrix.db }} |