File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - cron : " 0 0 * * 4" # every Thursday
1010 workflow_call :
1111
12- concurrency :
13- group : test-${{ github.ref_name }}
14- cancel-in-progress : ${{ github.ref_name != 'main' }}
15-
1612permissions :
1713 contents : read
1814
1915jobs :
2016 rspec :
21- name : Solidus ${{ matrix.solidus-branch }}, Rails ${{ matrix.rails-version }} and Ruby ${{ matrix.ruby-version }} on ${{ matrix.database }}
22- runs-on : ubuntu-24.04
23- strategy :
24- fail-fast : true
25- matrix :
26- rails-version :
27- - " 7.1"
28- - " 7.2"
29- - " 8.0"
30- ruby-version :
31- - " 3.1"
32- - " 3.4"
33- solidus-branch :
34- - " v4.3"
35- - " v4.4"
36- - " v4.5"
37- - " main"
38- database :
39- - " postgresql"
40- - " mysql"
41- - " sqlite"
42- exclude :
43- - solidus-branch : " main"
44- ruby-version : " 3.1"
45- - rails-version : " 7.2"
46- solidus-branch : " v4.3"
47- - ruby-version : " 3.1"
48- rails-version : " 8.0"
49- - solidus-branch : " v4.3"
50- rails-version : " 8.0"
51- - solidus-branch : " v4.4"
52- rails-version : " 8.0"
53- services :
54- postgres :
55- image : postgres:16
56- env :
57- POSTGRES_HOST_AUTH_METHOD : trust
58- options : >-
59- --health-cmd="pg_isready"
60- --health-interval=10s
61- --health-timeout=5s
62- --health-retries=5
63- ports :
64- - 5432:5432
65- mysql :
66- image : mysql:8
67- env :
68- MYSQL_ALLOW_EMPTY_PASSWORD : " yes"
69- options : >-
70- --health-cmd="mysqladmin ping"
71- --health-interval=10s
72- --health-timeout=5s
73- --health-retries=5
74- ports :
75- - 3306:3306
76- steps :
77- - uses : actions/checkout@v4
78- - name : Run extension tests
79- uses : solidusio/test-solidus-extension@main
80- with :
81- database : ${{ matrix.database }}
82- rails-version : ${{ matrix.rails-version }}
83- ruby-version : ${{ matrix.ruby-version }}
84- solidus-branch : ${{ matrix.solidus-branch }}
85- - name : Upload coverage reports to Codecov
86- uses : codecov/codecov-action@v5
87- continue-on-error : true
88- with :
89- token : ${{ secrets.CODECOV_TOKEN }}
90- files : ./coverage/coverage.xml
17+ uses : solidusio/test-solidus-extension/.github/workflows/test.yml@main
You can’t perform that action at this time.
0 commit comments