Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the functional job, add 2024.2 #82

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/functional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@ jobs:
openstack_version: ["master"]
ubuntu_version: ["22.04"]
include:
- name: "dolmatian"
openstack_version: "stable/2024.2"
ubuntu_version: "22.04"
- name: "caracal"
openstack_version: "stable/2024.1"
ubuntu_version: "22.04"
- name: "bobcat"
openstack_version: "stable/2023.2"
ubuntu_version: "22.04"
- name: "antelope"
openstack_version: "stable/2023.1"
ubuntu_version: "22.04"
- name: "zed"
openstack_version: "stable/zed"
ubuntu_version: "22.04"
runs-on: ubuntu-${{ matrix.ubuntu_version }}
name: Deploy OpenStack ${{ matrix.name }} and run examples
steps:
Expand All @@ -46,7 +43,7 @@ jobs:
if: always()
- name: Upload logs artifacts
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: functional-${{ matrix.name }}
path: /tmp/devstack-logs/*
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, nightly, 1.65.0]
rust: [stable, nightly, 1.71.0]
flags:
- ""
- "--no-default-features"
Expand All @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, nightly, 1.65.0]
rust: [stable, nightly, 1.71.0]
steps:
- uses: actions/checkout@v4
- name: Install Rust
Expand Down
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ where
}

#[cfg(test)]
pub mod test {
pub(crate) mod test {
use serde::{Deserialize, Serialize};
use serde_json;

Expand Down
3 changes: 2 additions & 1 deletion src/endpointfilters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,14 @@ impl EndpointFilters {
pub mod test {
use std::collections::hash_map::DefaultHasher;
use std::hash::{Hash, Hasher};
use std::mem::size_of;

use super::{InterfaceType, ValidInterfaces};
use InterfaceType::*;

#[test]
fn test_valid_interfaces_basics() {
assert_eq!(std::mem::size_of::<ValidInterfaces>(), 4);
assert_eq!(size_of::<ValidInterfaces>(), 4);

let empty = ValidInterfaces::empty();
assert_eq!(empty.len(), 0);
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
//!
//! # Requirements
//!
//! This crate requires Rust 2021 edition and rustc version 1.65.0 or newer.
//! This crate requires Rust 2021 edition and rustc version 1.71.0 or newer.
//!
//! OpenStack releases starting with Train are officially supported, although support for
//! releases older than 1.5 years is best-effort and may be dropped without a prior warning
Expand Down
Loading