File tree Expand file tree Collapse file tree 10 files changed +4
-36
lines changed
tests/integration/mobile_app Expand file tree Collapse file tree 10 files changed +4
-36
lines changed Original file line number Diff line number Diff line change 1818 fail-fast : false
1919 matrix :
2020 os : [ubuntu-24.04, macos-14, windows-2022]
21- feature-args : ['', '-Funstable-mobile-app']
22- include :
23- - feature-args : ' '
24- feature-suffix : ' '
25- - feature-args : ' -Funstable-mobile-app'
26- feature-suffix : ' , mobile-app'
27-
28- name : Lint (${{ matrix.os }}${{ matrix.feature-suffix }})
21+
2922 runs-on : ${{ matrix.os }}
3023 steps :
3124 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
3932 run : cargo fmt --all -- --check
4033
4134 - name : Run Clippy
42- run : cargo clippy --workspace --tests ${{ matrix.feature-args }}
35+ run : cargo clippy --workspace --tests
4336
4437 lint :
4538 needs : lint-each-os
5851 fail-fast : false
5952 matrix :
6053 os : [ubuntu-24.04, macos-14, windows-2022]
61- feature-args : ['', '-Funstable-mobile-app']
62- include :
63- - feature-args : ' '
64- feature-suffix : ' '
65- - feature-args : ' -Funstable-mobile-app'
66- feature-suffix : ' , mobile-app'
67-
68- name : Test (${{ matrix.os }}${{ matrix.feature-suffix }})
54+
6955 runs-on : ${{ matrix.os }}
7056
7157 steps :
7662 key : ${{ github.job }}
7763
7864 - name : Run Cargo Tests
79- run : cargo test --all ${{ matrix.feature-args }}
65+ run : cargo test --all
8066
8167 test_node :
8268 strategy :
Original file line number Diff line number Diff line change 1- {
2- "rust-analyzer.cargo.features" : [" unstable-mobile-app" ],
3- "rust-analyzer.cargo.noDefaultFeatures" : false
4- }
Original file line number Diff line number Diff line change @@ -94,10 +94,6 @@ default = []
9494managed = []
9595with_crash_reporting = []
9696
97- # Feature flag for the mobile-app command, as it is still under development.
98- # CI tests run against this flag, but we don't include it in release builds.
99- unstable-mobile-app = [" apple-catalog-parsing" ]
100-
10197[workspace .lints .clippy ]
10298allow-attributes = " warn"
10399unnecessary-wraps = " warn"
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
21use serde:: { Deserialize , Serialize } ;
32use sha1_smol:: Digest ;
43
Original file line number Diff line number Diff line change @@ -14,6 +14,5 @@ pub use self::compression::ChunkCompression;
1414pub use self :: dif:: { AssembleDifsRequest , AssembleDifsResponse , ChunkedDifRequest } ;
1515pub use self :: file_state:: ChunkedFileState ;
1616pub use self :: hash_algorithm:: ChunkHashAlgorithm ;
17- #[ cfg( feature = "unstable-mobile-app" ) ]
1817pub use self :: mobile_app:: { AssembleMobileAppResponse , ChunkedMobileAppRequest } ;
1918pub use self :: upload:: { ChunkServerOptions , ChunkUploadCapability } ;
Original file line number Diff line number Diff line change @@ -1018,7 +1018,6 @@ impl<'a> AuthenticatedApi<'a> {
10181018 . convert_rnf ( ApiErrorKind :: ReleaseNotFound )
10191019 }
10201020
1021- #[ cfg( feature = "unstable-mobile-app" ) ]
10221021 pub fn assemble_mobile_app (
10231022 & self ,
10241023 org : & str ,
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
2-
31use anyhow:: Result ;
42use clap:: { ArgMatches , Command } ;
53
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ macro_rules! each_subcommand {
3131 $mac!( info) ;
3232 $mac!( issues) ;
3333 $mac!( login) ;
34- #[ cfg( feature = "unstable-mobile-app" ) ]
3534 $mac!( mobile_app) ;
3635 $mac!( monitors) ;
3736 $mac!( organizations) ;
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
2-
31#[ cfg( target_os = "macos" ) ]
42mod apple;
53mod validation;
Original file line number Diff line number Diff line change 1- #![ cfg( feature = "unstable-mobile-app" ) ]
2-
31use crate :: integration:: TestManager ;
42
53mod upload;
You can’t perform that action at this time.
0 commit comments