You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/08 13:47:22 UTC
[GitHub] [airflow] potiuk commented on pull request #22082: Add Codespaces support
potiuk commented on pull request #22082:
URL: https://github.com/apache/airflow/pull/22082#issuecomment-1061794479
This is a very basic suppor for codespaces, but it works nicely.
For those who have access to codespaces (it's not yet GA for Apache and Public repos) it takes about 4 minutes to get you up and running:
You land inside "breeze" container with terminal and pytest working, postgres database and you can run unit tests from within VSCode (either in-browser or local).
It required to move the helm charts to "tests/charts folder" because of the way how VSCode does NOT handle well mutliple folders with pytest conftest.py in separate "test trees".
This is a small inconvenience (if at all) but I wanted you to take a look @jedcunningham @kaxil @ephraimbuddy.
Also as a side effect of it you can run just `pytest` in the root folder of airflow and all tests (including the helm chart tests) will get executed (and conftest.py will be properly applied to the subset of tests in each subfolder). This brings our test structure more in line with the "standard" pytest test tree approach.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org