Skip to content

Commit 4e24858

Browse files
authored
Merge pull request #437 from SuperGoodSoft/github-actions
Switch to GitHub actions
2 parents 0e5ea40 + 635e707 commit 4e24858

2 files changed

Lines changed: 49 additions & 133 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 133 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
schedule:
8+
- cron: "0 0 * * 4" # every Thursday
9+
concurrency:
10+
group: test-${{ github.ref_name }}
11+
cancel-in-progress: ${{ github.ref_name != 'master' }}
12+
permissions:
13+
contents: read
14+
jobs:
15+
rspec:
16+
name: Solidus ${{ matrix.solidus-branch }}, Rails ${{ matrix.rails-version }} and Ruby ${{ matrix.ruby-version }} on ${{ matrix.database }}
17+
runs-on: ubuntu-24.04
18+
strategy:
19+
fail-fast: true
20+
matrix:
21+
rails-version:
22+
- "7.2"
23+
- "8.0"
24+
ruby-version:
25+
- "3.3"
26+
- "3.4"
27+
solidus-branch:
28+
- "v4.4"
29+
- "v4.5"
30+
- "v4.6"
31+
database:
32+
- "postgresql"
33+
- "mysql"
34+
- "sqlite"
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Run extension tests
38+
uses: solidusio/test-solidus-extension@main
39+
with:
40+
database: ${{ matrix.database }}
41+
rails-version: ${{ matrix.rails-version }}
42+
ruby-version: ${{ matrix.ruby-version }}
43+
solidus-branch: ${{ matrix.solidus-branch }}
44+
- name: Upload coverage reports to Codecov
45+
uses: codecov/codecov-action@v5
46+
continue-on-error: true
47+
with:
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
files: ./coverage/coverage.xml

0 commit comments

Comments
 (0)