Просмотр исходного кода

Merge pull request #303 from CloudVE/conditional_badges_with_moto_fix

Conditional badges with moto fix
Nuwan Goonasekera 3 лет назад
Родитель
Сommit
afbda4189b
3 измененных файлов с 2 добавлено и 3 удалено
  1. 1 1
      .github/workflows/integration.yaml
  2. 0 1
      requirements.txt
  3. 1 1
      setup.py

+ 1 - 1
.github/workflows/integration.yaml

@@ -107,7 +107,7 @@ jobs:
           CB_PLACEMENT_OS: ${{ secrets.CB_PLACEMENT_OS }}
 
       - name: Create Build Status Badge
-        if: ${{ always() }}
+        if: github.ref == 'refs/heads/master'
         uses: schneegans/dynamic-badges-action@v1.1.0
         with:
           auth: ${{ secrets.BUILD_STATUS_GIST_SECRET }}

+ 0 - 1
requirements.txt

@@ -1,4 +1,3 @@
 # needed by moto
 sshpubkeys
-git+https://github.com/CloudVE/moto@resync_instance_types
 -e ".[dev]"

+ 1 - 1
setup.py

@@ -58,7 +58,7 @@ REQS_FULL = REQS_AWS + REQS_GCP + REQS_OPENSTACK + REQS_AZURE
 REQS_DEV = ([
     'tox>=2.1.1',
     'nose',
-    'moto>=1.3.2',
+    'moto>=3.1.18',
     'sphinx>=1.3.1',
     'pydevd',
     'flake8>=3.3.0',