|
| 1 | +name: Dir-Structure Tests |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: ["trunk"] |
| 6 | + pull_request: |
| 7 | + branches: ["trunk"] |
| 8 | + |
| 9 | +env: |
| 10 | + CARGO_TERM_COLOR: always |
| 11 | + COLOR: always |
| 12 | + RUST_BACKTRACE: full |
| 13 | + |
| 14 | +jobs: |
| 15 | + test: |
| 16 | + name: Test dir-structure |
| 17 | + runs-on: ubuntu-latest |
| 18 | + |
| 19 | + steps: |
| 20 | + - uses: actions/checkout@v4 |
| 21 | + # - name: Install dependencies |
| 22 | + # run: sudo apt update && sudo apt install openssl libssl-dev |
| 23 | + - name: Install rust |
| 24 | + run: rustup install nightly && rustup default nightly |
| 25 | + - name: Rust cache |
| 26 | + uses: Swatinem/rust-cache@v2 |
| 27 | + |
| 28 | + - name: Run tests |
| 29 | + uses: ./.github/actions/test-dir-structure |
| 30 | + with: { feature-combos: "--all-features" } |
| 31 | + - uses: ./.github/actions/test-dir-structure |
| 32 | + with: { feature-combos: "--no-default-features" } |
| 33 | + - uses: ./.github/actions/test-dir-structure |
| 34 | + with: { feature-combos: "--no-default-features --features assert_eq" } |
| 35 | + - uses: ./.github/actions/test-dir-structure |
| 36 | + with: { feature-combos: "--no-default-features --features git" } |
| 37 | + - uses: ./.github/actions/test-dir-structure |
| 38 | + with: { feature-combos: "--no-default-features --features async" } |
| 39 | + - uses: ./.github/actions/test-dir-structure |
| 40 | + with: { feature-combos: "--no-default-features --features tokio" } |
| 41 | + - uses: ./.github/actions/test-dir-structure |
| 42 | + with: { feature-combos: "--no-default-features --features image" } |
| 43 | + - uses: ./.github/actions/test-dir-structure |
| 44 | + with: { feature-combos: "--no-default-features --features image,image-format-png" } |
| 45 | + - uses: ./.github/actions/test-dir-structure |
| 46 | + with: { feature-combos: "--no-default-features --features image,image-format-jpeg" } |
| 47 | + - uses: ./.github/actions/test-dir-structure |
| 48 | + with: { feature-combos: "--no-default-features --features resolve-path" } |
| 49 | + - uses: ./.github/actions/test-dir-structure |
| 50 | + with: { feature-combos: "--no-default-features --features json" } |
| 51 | + - uses: ./.github/actions/test-dir-structure |
| 52 | + with: { feature-combos: "--no-default-features --features toml" } |
| 53 | + - uses: ./.github/actions/test-dir-structure |
| 54 | + with: { feature-combos: "--no-default-features --features yaml" } |
| 55 | + - uses: ./.github/actions/test-dir-structure |
| 56 | + with: { feature-combos: "--no-default-features --features ron" } |
| 57 | + - uses: ./.github/actions/test-dir-structure |
| 58 | + with: { feature-combos: "--no-default-features --features include_dir" } |
| 59 | + - uses: ./.github/actions/test-dir-structure |
| 60 | + with: { feature-combos: "--no-default-features --features derive" } |
| 61 | + - uses: ./.github/actions/test-dir-structure |
| 62 | + with: { feature-combos: "--no-default-features --features tools" } |
| 63 | + - uses: ./.github/actions/test-dir-structure |
| 64 | + with: { feature-combos: "--features assert_eq" } |
| 65 | + - uses: ./.github/actions/test-dir-structure |
| 66 | + with: { feature-combos: "--features assert_eq,git" } |
| 67 | + - uses: ./.github/actions/test-dir-structure |
| 68 | + with: { feature-combos: "--features assert_eq,async" } |
| 69 | + - uses: ./.github/actions/test-dir-structure |
| 70 | + with: { feature-combos: "--features assert_eq,tokio" } |
| 71 | + - uses: ./.github/actions/test-dir-structure |
| 72 | + with: { feature-combos: "--features assert_eq,image" } |
| 73 | + - uses: ./.github/actions/test-dir-structure |
| 74 | + with: { feature-combos: "--features assert_eq,image,image-format-png" } |
| 75 | + - uses: ./.github/actions/test-dir-structure |
| 76 | + with: { feature-combos: "--features assert_eq,async,image" } |
| 77 | + - uses: ./.github/actions/test-dir-structure |
| 78 | + with: { feature-combos: "--features assert_eq,tokio,image" } |
| 79 | + - uses: ./.github/actions/test-dir-structure |
| 80 | + with: { feature-combos: "--features assert_eq,tokio,image,image-format-png" } |
| 81 | + - uses: ./.github/actions/test-dir-structure |
| 82 | + with: { feature-combos: "--features assert_eq,resolve-path" } |
| 83 | + - uses: ./.github/actions/test-dir-structure |
| 84 | + with: { feature-combos: "--features assert_eq,tokio,resolve-path" } |
| 85 | + - uses: ./.github/actions/test-dir-structure |
| 86 | + with: { feature-combos: "--features assert_eq,json,toml,yaml,ron" } |
| 87 | + - uses: ./.github/actions/test-dir-structure |
| 88 | + with: { feature-combos: "--features assert_eq,async,json,toml,yaml,ron" } |
| 89 | + - uses: ./.github/actions/test-dir-structure |
| 90 | + with: { feature-combos: "--features assert_eq,tokio,json,toml,yaml,ron" } |
| 91 | + - uses: ./.github/actions/test-dir-structure |
| 92 | + with: { feature-combos: "--features assert_eq,include_dir" } |
| 93 | + - uses: ./.github/actions/test-dir-structure |
| 94 | + with: { feature-combos: "--no-default-features --features tools-atomic-dir" } |
| 95 | + - uses: ./.github/actions/test-dir-structure |
| 96 | + with: { feature-combos: "--no-default-features --features tools-atomic-dir,async" } |
| 97 | + - uses: ./.github/actions/test-dir-structure |
| 98 | + with: { feature-combos: "--no-default-features --features tools-atomic-dir,async,tokio" } |
0 commit comments