Skip to content

feat: Allow serialization of the Enum based status #1724

feat: Allow serialization of the Enum based status

feat: Allow serialization of the Enum based status #1724

Workflow file for this run

---
name: Functional
permissions:
contents: read
on:
pull_request:
branches: [ "main" ]
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/functional.yml'
- 'openstack_cli/**'
- 'openstack_sdk/**'
- 'structable_derive/**'
jobs:
functional:
strategy:
fail-fast: false
matrix:
name: ["master"]
openstack_version: ["master"]
ubuntu_version: ["22.04"]
# include:
# - name: "bobcat"
# openstack_version: "stable/2023.2"
# ubuntu_version: "22.04"
runs-on: ubuntu-${{ matrix.ubuntu_version }}
name: Functional tests on OpenStack ${{ matrix.name }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.cache/pip
target/
key: ${{ runner.os }}-devstack-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-devstack-
${{ runner.os }}-
- name: Deploy devstack
uses: EmilienM/devstack-action@e82a9cbead099cba72f99537e82a360c3e319c69 # v0.15
with:
branch: ${{ matrix.openstack_version }}
enabled_services: swift
log_dir: /tmp/devstack-logs
- name: Install Rust
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0 # stable
with:
toolchain: stable
- name: Install cargo-nextest
uses: taiki-e/install-action@f1390fd0d8205ae79e5e57b1d1e300dceeb4163e # v2.49.44
with:
tool: cargo-nextest
- name: Execute functional tests
env:
OS_CLOUD: devstack
run: cargo nextest run --test functional