Skip to content

Commit 0372745

Browse files
committed
process-extended tests in CI
1 parent 64c2572 commit 0372745

1 file changed

Lines changed: 17 additions & 23 deletions

File tree

.github/workflows/test-process_extended.yml

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,35 +40,33 @@ jobs:
4040
ruby-version: ${{ env.RUBY_VERSION }}
4141

4242
- name: Recover Ruby dependency cache
43-
uses: actions/cache@v3
43+
uses: actions/cache@v4
4444
with:
4545
path: decidim-process-extended/vendor/bundle
46-
key: ${{ runner.OS }}-rubydeps-process-extended-${{ hashFiles('decidim-process-extended/Gemfile.lock') }}
46+
key: ${{ runner.OS }}-rubydeps-process-extended-v2-${{ env.RUBY_VERSION }}-${{ hashFiles('decidim-process-extended/Gemfile.lock') }}
4747
restore-keys: |
48-
${{ runner.OS }}-rubydeps-process-extended-
49-
${{ runner.OS }}-rubydeps-
50-
${{ runner.OS }}-
48+
${{ runner.OS }}-rubydeps-process-extended-v2-${{ env.RUBY_VERSION }}-
5149
5250
- name: Set bundle local config vendor/bundle path
5351
working-directory: "decidim-process-extended"
5452
run: bundle config set --local path 'vendor/bundle'
5553

56-
# chromedriver workaround
57-
- uses: nanasess/setup-chromedriver@v2
58-
with:
59-
chromedriver-version: 119.0.6045.105
54+
# # chromedriver workaround
55+
# - uses: nanasess/setup-chromedriver@v2
56+
# with:
57+
# chromedriver-version: 119.0.6045.105
6058

61-
- name: List Chrome
62-
shell: "bash"
63-
run: apt list --installed | grep chrome
59+
# - name: List Chrome
60+
# shell: "bash"
61+
# run: apt list --installed | grep chrome
6462

65-
- name: Remove Chrome
66-
shell: "bash"
67-
run: sudo apt remove google-chrome-stable
63+
# - name: Remove Chrome
64+
# shell: "bash"
65+
# run: sudo apt remove google-chrome-stable
6866

69-
- uses: browser-actions/setup-chrome@v1
70-
with:
71-
chrome-version: 119.0.6045.105
67+
# - uses: browser-actions/setup-chrome@v1
68+
# with:
69+
# chrome-version: 119.0.6045.105
7270

7371
- name: Install ImageMagick
7472
run: sudo apt update && sudo apt install imagemagick
@@ -80,9 +78,6 @@ jobs:
8078
- name: Disable Spring
8179
run: echo "DISABLE_SPRING=1" >> $GITHUB_ENV
8280

83-
- name: Create empty application.yml
84-
run: touch config/application.yml
85-
8681
- name: Generate process_extended test_app
8782
working-directory: "decidim-process-extended"
8883
run: bundle exec rake test_app
@@ -91,9 +86,8 @@ jobs:
9186
- name: Run RSpec
9287
uses: nick-fields/retry@v3
9388
with:
94-
working-directory: "decidim-process-extended"
9589
shell: "bash"
9690
timeout_minutes: 10
9791
max_attempts: 3
9892
retry_on: error
99-
command: bundle exec rspec --backtrace
93+
command: cd decidim-process-extended && bundle exec rspec --backtrace

0 commit comments

Comments
 (0)