mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Merge pull request #2628 from TracksApp/simplify-workflow-file
Simplify the workflow file
This commit is contained in:
commit
2790bb9b1e
2 changed files with 20 additions and 35 deletions
47
.github/workflows/continuous-integration.yml
vendored
47
.github/workflows/continuous-integration.yml
vendored
|
|
@ -1,38 +1,23 @@
|
|||
---
|
||||
name: Automated tests
|
||||
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
test25mysql:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: ["2.5", "2.6", "2.7"]
|
||||
db: [sqlite, mysql, postgres]
|
||||
exclude:
|
||||
- ruby: "2.5"
|
||||
db: sqlite
|
||||
- ruby: "2.5"
|
||||
db: postgres
|
||||
- ruby: "2.6"
|
||||
db: sqlite
|
||||
- ruby: "2.6"
|
||||
db: postgres
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: bash -x script/cibuild 2.5 mysql
|
||||
|
||||
test26mysql:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: bash -x script/cibuild 2.6 mysql
|
||||
|
||||
test27mysql:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: bash -x script/cibuild 2.7 mysql
|
||||
|
||||
test27postgres:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: bash -x script/cibuild 2.7 postgres
|
||||
|
||||
test27sqlite:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- run: bash -x script/cibuild 2.7 sqlite
|
||||
|
||||
# - run: bash -x script/cibuild 2.5 postgres
|
||||
# - run: bash -x script/cibuild 2.7 postgres
|
||||
- run: bash -x script/cibuild ${{ matrix.ruby }} ${{ matrix.db }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue