Skip to content

Commit

Permalink
Move test_suite to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumlamm committed Jul 19, 2021
1 parent 75f7192 commit 777cd3f
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 47 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/rust.yml
Expand Up @@ -54,28 +54,3 @@ jobs:
with:
command: build
args: -Z avoid-dev-deps --features example_generated --target thumbv6m-none-eabi

suite:
name: Test suite
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
rust:
- nightly
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- name: Default features
uses: actions-rs/cargo@v1
with:
command: test
args: -p test_suite
18 changes: 9 additions & 9 deletions Cargo.toml
@@ -1,10 +1,10 @@
[package]

name = "bitflags"
# NB: When modifying, also modify:
# 1. html_root_url in lib.rs
# 2. number in readme (for breaking changes)
version = "1.2.1"
edition = "2018"
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
keywords = ["bit", "bitmask", "bitflags", "flags"]
Expand All @@ -16,22 +16,22 @@ categories = ["no-std"]
description = """
A macro to generate structures which behave like bitflags.
"""
exclude = [
"appveyor.yml",
"bors.toml"
]
exclude = ["bors.toml"]

[dependencies]
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
compiler_builtins = { version = '0.1.2', optional = true }

[dev-dependencies]
trybuild = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"

[features]
default = []
example_generated = []
rustc-dep-of-std = ["core", "compiler_builtins"]

[package.metadata.docs.rs]
features = [ "example_generated" ]

[workspace]
members = ["test_suite"]
features = ["example_generated"]
11 changes: 0 additions & 11 deletions test_suite/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions test_suite/tests/u128_bitflags.rs → tests/u128_bitflags.rs
@@ -1,5 +1,3 @@
#![cfg(feature = "unstable")]

use bitflags::bitflags;

bitflags! {
Expand Down

0 comments on commit 777cd3f

Please sign in to comment.