Skip to content

Commit

Permalink
test: run tests on Mastodon v4 (nolanlawson#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored and alice-werefox committed Apr 3, 2023
1 parent 8a700f3 commit 2a3802a
Show file tree
Hide file tree
Showing 7 changed files with 756 additions and 52 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests-readonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:12.2
Expand All @@ -28,7 +28,7 @@ jobs:
node-version: '14'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.3'
ruby-version: '3.0.4'
- name: Cache Mastodon bundler
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests-readwrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:12.2
Expand All @@ -28,7 +28,7 @@ jobs:
node-version: '14'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.3'
ruby-version: '3.0.4'
- name: Cache Mastodon bundler
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions bin/mastodon-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ BIND=0.0.0.0
`

export const GIT_URL = 'https://github.com/tootsuite/mastodon.git'
export const GIT_TAG = 'v3.5.3'
export const GIT_TAG = 'v4.0.2'

export const RUBY_VERSION = '3.0.3'
export const RUBY_VERSION = '3.0.4'

const __dirname = path.dirname(new URL(import.meta.url).pathname)
export const mastodonDir = path.join(__dirname, '../mastodon')
Expand Down
Loading

0 comments on commit 2a3802a

Please sign in to comment.