ci: Remove pointless job
It was running no tests.
This commit is contained in:
parent
ba2914a22a
commit
fec7d23cfd
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -135,9 +135,6 @@ jobs:
|
||||
- name: Run Doc Tests
|
||||
cmd: test-doc
|
||||
|
||||
- name: Test Common Features
|
||||
cmd: test-common
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
@ -46,8 +46,6 @@ pub enum CiCmd {
|
||||
TestAll,
|
||||
/// Run doc tests with almost all features (stable)
|
||||
TestDoc,
|
||||
/// Test ruma-common with the compat feature (stable)
|
||||
TestCommon,
|
||||
/// Run all the tasks that use the nightly version
|
||||
Nightly,
|
||||
/// Check formatting (nightly)
|
||||
@ -103,7 +101,6 @@ impl CiTask {
|
||||
Some(CiCmd::StableCommon) => self.stable_common()?,
|
||||
Some(CiCmd::TestAll) => self.test_all()?,
|
||||
Some(CiCmd::TestDoc) => self.test_doc()?,
|
||||
Some(CiCmd::TestCommon) => self.test_common()?,
|
||||
Some(CiCmd::Nightly) => self.nightly()?,
|
||||
Some(CiCmd::Fmt) => self.fmt()?,
|
||||
Some(CiCmd::NightlyFull) => self.nightly_full()?,
|
||||
@ -171,7 +168,7 @@ impl CiTask {
|
||||
self.stable_common()?;
|
||||
self.test_all()?;
|
||||
self.test_doc()?;
|
||||
self.test_common()
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// 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)
|
||||
}
|
||||
|
||||
/// 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.
|
||||
fn nightly(&self) -> Result<()> {
|
||||
self.fmt()?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user