ci: Remove pointless job

It was running no tests.
This commit is contained in:
Jonas Platte 2023-08-24 17:34:24 +02:00
parent ba2914a22a
commit fec7d23cfd
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
2 changed files with 1 additions and 17 deletions

View File

@ -135,9 +135,6 @@ jobs:
- name: Run Doc Tests - name: Run Doc Tests
cmd: test-doc cmd: test-doc
- name: Test Common Features
cmd: test-common
steps: steps:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@ -46,8 +46,6 @@ pub enum CiCmd {
TestAll, TestAll,
/// Run doc tests with almost all features (stable) /// Run doc tests with almost all features (stable)
TestDoc, TestDoc,
/// Test ruma-common with the compat feature (stable)
TestCommon,
/// Run all the tasks that use the nightly version /// Run all the tasks that use the nightly version
Nightly, Nightly,
/// Check formatting (nightly) /// Check formatting (nightly)
@ -103,7 +101,6 @@ impl CiTask {
Some(CiCmd::StableCommon) => self.stable_common()?, Some(CiCmd::StableCommon) => self.stable_common()?,
Some(CiCmd::TestAll) => self.test_all()?, Some(CiCmd::TestAll) => self.test_all()?,
Some(CiCmd::TestDoc) => self.test_doc()?, Some(CiCmd::TestDoc) => self.test_doc()?,
Some(CiCmd::TestCommon) => self.test_common()?,
Some(CiCmd::Nightly) => self.nightly()?, Some(CiCmd::Nightly) => self.nightly()?,
Some(CiCmd::Fmt) => self.fmt()?, Some(CiCmd::Fmt) => self.fmt()?,
Some(CiCmd::NightlyFull) => self.nightly_full()?, Some(CiCmd::NightlyFull) => self.nightly_full()?,
@ -171,7 +168,7 @@ impl CiTask {
self.stable_common()?; self.stable_common()?;
self.test_all()?; self.test_all()?;
self.test_doc()?; self.test_doc()?;
self.test_common() Ok(())
} }
/// Check all crates with all features with the stable version. /// Check all crates with all features with the stable version.
@ -206,16 +203,6 @@ impl CiTask {
cmd!("rustup run stable cargo test --doc --features __ci").run().map_err(Into::into) cmd!("rustup run stable cargo test --doc --features __ci").run().map_err(Into::into)
} }
/// Test ruma-common with the compat feature with the stable version.
fn test_common(&self) -> Result<()> {
cmd!(
"rustup run stable cargo test -p ruma-common
--features events,compat-empty-string-null,compat-user-id,compat-tag-info compat"
)
.run()
.map_err(Into::into)
}
/// Run all the tasks that use the nightly version. /// Run all the tasks that use the nightly version.
fn nightly(&self) -> Result<()> { fn nightly(&self) -> Result<()> {
self.fmt()?; self.fmt()?;