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

Only run UI tests on nightly #132

Merged
merged 1 commit into from
Mar 1, 2022
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ jobs:
- name: Test macOS 10.15
os: macos-10.15
target: x86_64-apple-darwin
- name: Test macOS 11 w. ui tests
- name: Test macOS 11
os: macos-11
target: x86_64-apple-darwin
args: --features tests/ui
- name: Build macOS AArch64
os: macos-11
target: aarch64-apple-darwin
Expand All @@ -60,6 +59,7 @@ jobs:
target: x86_64-apple-darwin
rust:
toolchain: nightly
# Run on nightly to help find regressions
args: --features tests/ui
- name: Build macOS 32bit
os: macos-10.15
Expand Down
6 changes: 0 additions & 6 deletions tests/ui/msg_send_only_message.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ error[E0277]: the trait bound `{integer}: MessageReceiver` is not satisfied
5 | unsafe { msg_send![1, new] };
| ^^^^^^^^^^^^^^^^^ the trait `MessageReceiver` is not implemented for `{integer}`
|
= help: the following implementations were found:
<&'a T as MessageReceiver>
<&'a mut T as MessageReceiver>
<*const T as MessageReceiver>
<*mut T as MessageReceiver>
and 3 others
= note: this error originates in the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info)
6 changes: 6 additions & 0 deletions tests/ui/nsvalue_f32_not_eq.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ error[E0277]: the trait bound `f32: Eq` is not satisfied
11 | needs_eq::<NSValue<f32>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `f32`
|
= help: the following implementations were found:
<i128 as Eq>
<i16 as Eq>
<i32 as Eq>
<i64 as Eq>
and 8 others
= note: required because of the requirements on the impl of `Eq` for `NSValue<f32>`
note: required by a bound in `needs_eq`
--> ui/nsvalue_f32_not_eq.rs:5:16
Expand Down