diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b9be406ad..118178a38 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -42,10 +42,10 @@ jobs: run: docker login ${{ env.DOCKER_SERVER }} -u ${{ env.DOCKER_USER_NAME }} -p ${{ env.DOCKER_USER_PASSWORD }} - name: build docker image shell: bash - run: docker build -t ${{ env.DOCKER_SERVER }}/cloud-sdk-nightly:${{ github.run_id }} -f wlan-testing/docker/Dockerfile . + run: docker build -t ${{ env.DOCKER_SERVER }}/cloud-sdk-nightly:pytest-${{ github.run_id }} -f wlan-testing/pytest/Dockerfile . - name: push docker image shell: bash - run: docker push ${{ env.DOCKER_SERVER }}/cloud-sdk-nightly:${{ github.run_id }} + run: docker push ${{ env.DOCKER_SERVER }}/cloud-sdk-nightly:pytest-${{ github.run_id }} cloudsdk: runs-on: ubuntu-latest @@ -100,42 +100,41 @@ jobs: test: runs-on: ubuntu-latest - needs: [ build, cloudsdk ] steps: - name: run tests run: | today=$(date +"%d-%m-%Y") aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }} kubectl delete job nightly-ci-$today --wait=true --ignore-not-found=true - # will be needed for multiple branches at the same time - # namespace: ${GITHUB_REF##*/} - echo ${GITHUB_REF##*/} + cat < 0: - instantiate_testrail.update_testrail(case_id=2835, run_id=setup_testrails, status_id=1, msg="testing") + # assert staConnect.passes() + # if setup_testrails > 0: + # instantiate_testrail.update_testrail(case_id=2835, run_id=setup_testrails, status_id=1, msg="testing") @pytest.mark.featureB def test_feature_b(self): pass + + @pytest.mark.featureC + def test_feature_c(self): + pass + + @pytest.mark.featureD + def test_feature_d(self): + pass + + @pytest.mark.xfail + @pytest.mark.featureE + def test_feature_e(self): + assert 1 == 0