Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Merge Group Test #2443

Merged
merged 5 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
ClippyAll:
name: Clippy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install latest nightly Rust toolchain
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Install Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"
- name: Run Clippy
run: python ./x.py clippy

Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Tests

on:
merge_group:
types:
- checks_requested
pull_request:
push:
branches:
- nightly
- stable
- automation/bors/approve
- automation/bors/try

env:
CARGO_TERM_COLOR: always

jobs:
BuildAll:
name: Build
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install latest nightly Rust toolchain
Expand All @@ -25,14 +28,15 @@ jobs:
- name: Install Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"
- name: Run Build
run: python ./x.py build

TestAll:
name: Test
needs:
- BuildAll
if: ${{ github.event_name == 'merge_group' }}
runs-on: ubuntu-latest

steps:
Expand All @@ -44,7 +48,7 @@ jobs:
- name: Install Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"
- name: Run Build
run: python ./x.py build -- discord-frontend
- name: Run Tests
Expand Down
32 changes: 26 additions & 6 deletions rust-utilities/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading