Skip to content

Commit

Permalink
feat: Rake task for blocking already reported users (#43)
Browse files Browse the repository at this point in the history
* feat(job): Add BlockUsersJob

* feat(rake): Create new rake task

* lint: Fix rubocop offenses

* chore: Bump to 3.0.6

* fix: Add README entry for new task

* refactor: Call method

* ci: Bump actions/upload-artifact to v3

* ci: Bump chromedriver

* ci: Remove unnecessary assets compilation

* revert: 'ci: Remove unnecessary assets compilation'

This reverts commit 66c4a85.

* fix: Add missing js dependencies

* fix: Add graphql-ws dep

* fix: Missing yarn deps

* fix: Set new decidim version

* fix: Npm i

* fix: yarn install

* fix: Bump decidim

* ci: Add x86_64 linux support

* ci: Add missing js deps...again...

* ci: Remove assets precompilation

* ci: Remove codecov

* ci: Disable codecov

* ci: Remove codecov
  • Loading branch information
Quentinchampenois authored Oct 17, 2024
1 parent d519240 commit 84e9215
Show file tree
Hide file tree
Showing 16 changed files with 505 additions and 307 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on: [push]

env:
CI: "true"
CODECOV: "true"

jobs:
lint:
Expand Down Expand Up @@ -57,19 +56,10 @@ jobs:
name: Create test app
- run: mkdir -p ./spec/decidim_dummy_app/tmp/screenshots
name: Create the screenshots folder
- uses: nanasess/setup-chromedriver@v1.0.1
- name: Run precompile if needed
run: |
if [[ -d "app/views" ]] || [[ -d "spec/mailers" ]] || [[ -d "spec/system" ]]; then
cd "spec/decidim_dummy_app"
bundle exec rails assets:precompile
else
echo "No need to precompile assets since system folder is empty"
fi
- uses: nanasess/setup-chromedriver@v2
- run: bundle exec rspec
name: RSpec
- uses: codecov/codecov-action@v1
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: always()
with:
name: screenshots
Expand Down Expand Up @@ -116,4 +106,4 @@ jobs:
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.2
3.0.6
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

ruby RUBY_VERSION

gem "decidim"
gem "decidim", "~> 0.27.0"
gem "decidim-spam_detection", path: "."

gem "bootsnap", "~> 1.4"
Expand All @@ -13,7 +13,7 @@ gem "puma", ">= 5.5.1"
group :development, :test do
gem "byebug", "~> 11.0", platform: :mri

gem "decidim-dev"
gem "decidim-dev", "~> 0.27.0"
end

group :development do
Expand Down
Loading

0 comments on commit 84e9215

Please sign in to comment.