Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lightning talk: Run Django tests with GitHub Actions

Lightning talk: Run Django tests with GitHub Actions

Create a workflow with GitHub Actions in order to run Django tests for Continuous Integration. Lightning talk At DjangoConEurope 2021.


Sarah Abderemane

June 02, 2021


  1. Run Django tests with Github Actions Sarah Abderemane @sabderemane

  2. GitHub Actions Generally available since 2019 Many languages supported :

    Python, PHP, Go, Javascript... Marketplace with multiples actions: testing, code review, deployment, security...
  3. Create the workflow

  4. Create the workflow

  5. Create the workflow

  6. Change settings

  7. Full workflow

  8. https://gist.github.com/sabderemane/bae142f8dab61c6aa6ce57f38eaa269e Ready to go ! Full workflow Further reading https://docs.github.com/en/actions/guides/building-and-testing-python

  9. Thank you @ S A B D E R E

    M A N E