diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..bfa04e33b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Install Datadog Test Runner + run: yarn add @datadog/datadog-ci + + - name: Run Datadog Synthetic Tests + env: + DATADOG_API_KEY: ${{secrets.DATADOG_API_KEY}} + DATADOG_APP_KEY: ${{secrets.DATADOG_APPLICATION_KEY}} + run: yarn datadog-ci synthetics run-tests --search 'tag:CI' diff --git a/README.md b/README.md index fe8b78b67..f211ed22e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Python: Getting Started +# Python: Getting Started 2 A barebones Django app, which can easily be deployed to Heroku. diff --git a/hello/templates/index.html b/hello/templates/index.html index 55951ccc2..88d8f3fd8 100644 --- a/hello/templates/index.html +++ b/hello/templates/index.html @@ -8,7 +8,7 @@ -

Getting Started with Python on Heroku

+

Getting Started with Python on Heroku 3

This is a sample Python application deployed to Heroku. It's a reasonably simple app - but a good foundation for understanding how to get the most out of the Heroku platform.

Getting Started with Python Source on GitHub