github.com/leeclow-ops/gophercloud@v1.2.1/.github/workflows/functional-basic.yaml (about) 1 name: functional-basic 2 on: 3 pull_request: 4 paths-ignore: 5 - 'docs/**' 6 - '**.md' 7 - '**.gitignore' 8 - '**LICENSE' 9 schedule: 10 - cron: '0 0 */3 * *' 11 jobs: 12 functional-basic: 13 strategy: 14 fail-fast: false 15 matrix: 16 name: ["master"] 17 openstack_version: ["master"] 18 ubuntu_version: ["20.04"] 19 include: 20 - name: "zed" 21 openstack_version: "stable/zed" 22 ubuntu_version: "20.04" 23 - name: "yoga" 24 openstack_version: "stable/yoga" 25 ubuntu_version: "20.04" 26 - name: "xena" 27 openstack_version: "stable/xena" 28 ubuntu_version: "20.04" 29 - name: "wallaby" 30 openstack_version: "stable/wallaby" 31 ubuntu_version: "20.04" 32 - name: "victoria" 33 openstack_version: "stable/victoria" 34 ubuntu_version: "20.04" 35 - name: "ussuri" 36 openstack_version: "stable/ussuri" 37 ubuntu_version: "18.04" 38 - name: "train" 39 openstack_version: "stable/train" 40 ubuntu_version: "18.04" 41 runs-on: ubuntu-${{ matrix.ubuntu_version }} 42 name: Deploy OpenStack ${{ matrix.name }} with defaults and run basic acceptance tests 43 steps: 44 - name: Checkout Gophercloud 45 uses: actions/checkout@v3 46 - name: Deploy devstack 47 uses: EmilienM/devstack-action@v0.11 48 with: 49 branch: ${{ matrix.openstack_version }} 50 enabled_services: 's-account,s-container,s-object,s-proxy' 51 - name: Checkout go 52 uses: actions/setup-go@v4 53 with: 54 go-version: '^1.15' 55 - name: Run Gophercloud acceptance tests 56 run: ./script/acceptancetest 57 env: 58 DEVSTACK_PATH: ${{ github.workspace }}/devstack 59 ACCEPTANCE_TESTS_FILTER: '^acceptance/openstack$' 60 - name: Generate logs on failure 61 run: ./script/collectlogs 62 if: failure() 63 - name: Upload logs artifacts on failure 64 if: failure() 65 uses: actions/upload-artifact@v3 66 with: 67 name: functional-basic-${{ matrix.name }} 68 path: /tmp/devstack-logs/*