-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into do-not-release-o…
…n-undraft
- Loading branch information
Showing
199 changed files
with
5,648 additions
and
1,382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,17 @@ on: | |
# for permissions | ||
- packages/misskey-js/** | ||
- .github/workflows/test-backend.yml | ||
- .github/misskey/test.yml | ||
pull_request: | ||
paths: | ||
- packages/backend/** | ||
# for permissions | ||
- packages/misskey-js/** | ||
- .github/workflows/test-backend.yml | ||
- .github/misskey/test.yml | ||
jobs: | ||
unit: | ||
name: Unit tests (backend) | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
@@ -44,7 +47,20 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Install FFmpeg | ||
uses: FedericoCarboni/setup-ffmpeg@v3 | ||
run: | | ||
for i in {1..3}; do | ||
echo "Attempt $i: Installing FFmpeg..." | ||
curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \ | ||
tar -xf ffmpeg.tar.xz && \ | ||
mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \ | ||
mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \ | ||
rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \ | ||
break || sleep 10 | ||
if [ $i -eq 3 ]; then | ||
echo "Failed to install FFmpeg after 3 attempts" | ||
exit 1 | ||
fi | ||
done | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -67,6 +83,7 @@ jobs: | |
files: ./packages/backend/coverage/coverage-final.json | ||
|
||
e2e: | ||
name: E2E tests (backend) | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ on: | |
|
||
jobs: | ||
test: | ||
name: Federation test | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
|
@@ -28,7 +29,20 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Install FFmpeg | ||
uses: FedericoCarboni/setup-ffmpeg@v3 | ||
run: | | ||
for i in {1..3}; do | ||
echo "Attempt $i: Installing FFmpeg..." | ||
curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \ | ||
tar -xf ffmpeg.tar.xz && \ | ||
mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \ | ||
mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \ | ||
rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \ | ||
break || sleep 10 | ||
if [ $i -eq 3 ]; then | ||
echo "Failed to install FFmpeg after 3 attempts" | ||
exit 1 | ||
fi | ||
done | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ env: | |
|
||
jobs: | ||
production: | ||
name: Production build | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test (backend) | ||
name: api.json validation | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.