]> git.phdru.name Git - sqlconvert.git/commitdiff
CI(GHActions): Group tasks
authorOleg Broytman <phd@phdru.name>
Thu, 23 Sep 2021 11:37:53 +0000 (14:37 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 23 Sep 2021 11:44:36 +0000 (14:44 +0300)
.github/workflows/run-tests.yaml

index 22d05e6d8ccf0fa8602c97959863d1774363fa80..331228ee3ee05b50fda1519be34695f644aa34aa 100644 (file)
@@ -22,6 +22,7 @@ jobs:
 
     steps:
 
+      # Setup PostgreSQL
       - uses: ankane/setup-postgres@v1
       - name: Setup Postgres user
         run: |
@@ -32,6 +33,7 @@ jobs:
           psql --command="CREATE USER runner CREATEDB PASSWORD 'test'"
         if: ${{ runner.os == 'Windows' }}
 
+      # Setup Python/pip
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2
         with:
@@ -41,6 +43,8 @@ jobs:
         with:
           path: ${{ matrix.pip-cache-path }}
           key: ${{ runner.os }}-pip
+
+      # Setup tox
       - name: Install dependencies
         run: |
           python --version
@@ -64,6 +68,7 @@ jobs:
             f.write('TOXENV=' + toxenv + '\n')
             f.write('PGPASSWORD=test\n')
         shell: python
+
       - name: Run tox
         run: |
           python -c "import os; print(os.environ['TOXENV'])"