Skip to content

Commit bff5323

Browse files
committed
chore: fix the CI, add 2024.2 to the functional tests
1 parent c5174c3 commit bff5323

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/functional.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@ jobs:
1010
openstack_version: ["master"]
1111
ubuntu_version: ["22.04"]
1212
include:
13+
- name: "dolmatian"
14+
openstack_version: "stable/2024.2"
15+
ubuntu_version: "22.04"
1316
- name: "caracal"
1417
openstack_version: "stable/2024.1"
1518
ubuntu_version: "22.04"
1619
- name: "bobcat"
1720
openstack_version: "stable/2023.2"
1821
ubuntu_version: "22.04"
19-
- name: "antelope"
20-
openstack_version: "stable/2023.1"
21-
ubuntu_version: "22.04"
22-
- name: "zed"
23-
openstack_version: "stable/zed"
24-
ubuntu_version: "22.04"
2522
runs-on: ubuntu-${{ matrix.ubuntu_version }}
2623
name: Deploy OpenStack ${{ matrix.name }} and run examples
2724
steps:
@@ -46,7 +43,7 @@ jobs:
4643
if: always()
4744
- name: Upload logs artifacts
4845
if: always()
49-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v4
5047
with:
5148
name: functional-${{ matrix.name }}
5249
path: /tmp/devstack-logs/*

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
rust: [stable, nightly, 1.65.0]
10+
rust: [stable, nightly, 1.71.0]
1111
flags:
1212
- ""
1313
- "--no-default-features"
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
rust: [stable, nightly, 1.65.0]
28+
rust: [stable, nightly, 1.71.0]
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Install Rust

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ where
195195
}
196196

197197
#[cfg(test)]
198-
pub mod test {
198+
pub(crate) mod test {
199199
use serde::{Deserialize, Serialize};
200200
use serde_json;
201201

src/endpointfilters.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,14 @@ impl EndpointFilters {
307307
pub mod test {
308308
use std::collections::hash_map::DefaultHasher;
309309
use std::hash::{Hash, Hasher};
310+
use std::mem::size_of;
310311

311312
use super::{InterfaceType, ValidInterfaces};
312313
use InterfaceType::*;
313314

314315
#[test]
315316
fn test_valid_interfaces_basics() {
316-
assert_eq!(std::mem::size_of::<ValidInterfaces>(), 4);
317+
assert_eq!(size_of::<ValidInterfaces>(), 4);
317318

318319
let empty = ValidInterfaces::empty();
319320
assert_eq!(empty.len(), 0);

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//!
3333
//! # Requirements
3434
//!
35-
//! This crate requires Rust 2021 edition and rustc version 1.65.0 or newer.
35+
//! This crate requires Rust 2021 edition and rustc version 1.71.0 or newer.
3636
//!
3737
//! OpenStack releases starting with Train are officially supported, although support for
3838
//! releases older than 1.5 years is best-effort and may be dropped without a prior warning

0 commit comments

Comments
 (0)