<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is a good way to implement unit tests using github actions for databricks? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9585#M4922</link>
    <description>&lt;P&gt;@Stian Arntsen​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;Using GitHub Actions can be a tedious way to run unit tests for the reasons you have mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an another approach to do this. Use the&lt;B&gt; run-notebook action&lt;/B&gt; to run your unit tests. This action allows you to specify a Databricks notebook to run and the cluster to run it on. You can configure the notebook to execute your unit tests and report the results back to GitHub. This approach may be simpler and more reliable than trying to replicate your entire Databricks environment on a GitHub Actions VM&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 02:36:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-09T02:36:20Z</dc:date>
    <item>
      <title>What is a good way to implement unit tests using github actions for databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9584#M4921</link>
      <description>&lt;P&gt;I am trying to use a &lt;A href="https://medium.com/@kaislar17/mlops-my-favorite-github-project-template-for-data-science-projects-2edda25099cd" alt="https://medium.com/@kaislar17/mlops-my-favorite-github-project-template-for-data-science-projects-2edda25099cd" target="_blank"&gt;git template&lt;/A&gt; for unit tests on a databricks project. The framework uses pylint, pytest and black to check the code. But I am having a lot of trouble getting the github actions vm to run the code without issues. I have had issues with spark and hadoop versions, packages, java errors.  Is it even a good idea to have github actions fire up a vm that is identical to my databricks environment and test the code? Is there another more sensible approach, such using the run-notebook action instead? Should I look into some completely different framework for doing unit tests?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 15:13:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9584#M4921</guid>
      <dc:creator>Ullsokk</dc:creator>
      <dc:date>2023-02-10T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is a good way to implement unit tests using github actions for databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9585#M4922</link>
      <description>&lt;P&gt;@Stian Arntsen​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;Using GitHub Actions can be a tedious way to run unit tests for the reasons you have mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an another approach to do this. Use the&lt;B&gt; run-notebook action&lt;/B&gt; to run your unit tests. This action allows you to specify a Databricks notebook to run and the cluster to run it on. You can configure the notebook to execute your unit tests and report the results back to GitHub. This approach may be simpler and more reliable than trying to replicate your entire Databricks environment on a GitHub Actions VM&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 02:36:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9585#M4922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-09T02:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is a good way to implement unit tests using github actions for databricks?</title>
      <link>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9586#M4923</link>
      <description>&lt;P&gt;Hi @Stian Arntsen​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Apr 2023 07:00:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/what-is-a-good-way-to-implement-unit-tests-using-github-actions/m-p/9586#M4923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-09T07:00:52Z</dc:date>
    </item>
  </channel>
</rss>

