|
35 | 35 | airflow: ["2", "3", ""] |
36 | 36 |
|
37 | 37 | steps: |
| 38 | +<<<<<<< before updating |
38 | 39 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
39 | 40 | with: |
40 | 41 | persist-credentials: false |
@@ -111,3 +112,78 @@ jobs: |
111 | 112 | name: dist-${{matrix.os}} |
112 | 113 | path: dist |
113 | 114 | if: ${{ matrix.airflow == '2' }} |
| 115 | +======= |
| 116 | + - name: Checkout |
| 117 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 118 | + with: |
| 119 | + persist-credentials: false |
| 120 | + |
| 121 | + - name: Setup Python |
| 122 | + uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446 |
| 123 | + with: |
| 124 | + version: ${{ matrix.python-version }} |
| 125 | + |
| 126 | + - name: Setup Node.js |
| 127 | + uses: actions-ext/node/setup@0ea5bdcd24d2488b28e16bf611b446a2f8e1e12f |
| 128 | + with: |
| 129 | + version: ${{ matrix.node-version }} |
| 130 | + |
| 131 | + - name: Install dependencies |
| 132 | + run: make develop |
| 133 | + |
| 134 | + - name: Lint |
| 135 | + run: make lint |
| 136 | + if: matrix.os == 'ubuntu-latest' |
| 137 | + |
| 138 | + - name: Checks |
| 139 | + run: make checks |
| 140 | + if: matrix.os == 'ubuntu-latest' |
| 141 | + |
| 142 | + - name: Build |
| 143 | + run: make build |
| 144 | + |
| 145 | + - name: Test |
| 146 | + run: make coverage |
| 147 | + if: matrix.os == 'ubuntu-latest' |
| 148 | + |
| 149 | + - name: Upload test results |
| 150 | + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
| 151 | + with: |
| 152 | + name: test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.node-version }} |
| 153 | + path: '**/junit.xml' |
| 154 | + if: ${{ always() }} |
| 155 | + |
| 156 | + - name: Publish test results |
| 157 | + uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0 |
| 158 | + with: |
| 159 | + files: '**/junit.xml' |
| 160 | + if: matrix.os == 'ubuntu-latest' |
| 161 | + |
| 162 | + - name: Upload coverage |
| 163 | + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 |
| 164 | + with: |
| 165 | + token: ${{ secrets.CODECOV_TOKEN }} |
| 166 | + |
| 167 | + - name: Build distributions |
| 168 | + run: make dist |
| 169 | + if: matrix.os == 'ubuntu-latest' |
| 170 | + |
| 171 | + - name: Test wheel |
| 172 | + uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446 |
| 173 | + with: |
| 174 | + module: airflow_balancer |
| 175 | + if: matrix.os == 'ubuntu-latest' |
| 176 | + |
| 177 | + - name: Test source distribution |
| 178 | + uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446 |
| 179 | + with: |
| 180 | + module: airflow_balancer |
| 181 | + if: matrix.os == 'ubuntu-latest' |
| 182 | + |
| 183 | + - name: Upload distributions |
| 184 | + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 |
| 185 | + with: |
| 186 | + name: dist-${{matrix.os}} |
| 187 | + path: dist |
| 188 | + if: matrix.os == 'ubuntu-latest' |
| 189 | +>>>>>>> after updating |
0 commit comments