|
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
5 | | - branches: [ dev ] |
| 5 | + branches: [dev] |
6 | 6 | pull_request: |
7 | 7 |
|
8 | 8 | jobs: |
|
45 | 45 | uses: conda-incubator/setup-miniconda@v2 |
46 | 46 | with: |
47 | 47 | auto-update-conda: true |
48 | | - python-version: '3.9' |
| 48 | + python-version: "3.9" |
49 | 49 |
|
50 | 50 | - name: Basic dependencies install |
51 | 51 | env: |
@@ -169,17 +169,20 @@ jobs: |
169 | 169 | conda deactivate |
170 | 170 |
|
171 | 171 | echo "8. Setting up SSH" |
172 | | - ssh-keygen -t rsa -b 4096 -N '' -f $PWD/qiita_ware/test/test_data/test_key |
| 172 | + ssh-keygen -t ed25519 -a 200 -N '' -f $PWD/qiita_ware/test/test_data/test_key |
173 | 173 | mkdir ~/.ssh/ |
174 | 174 | cp $PWD/qiita_ware/test/test_data/test_key* ~/.ssh/ |
175 | 175 | cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys |
| 176 | + cat ~/.ssh/test_key.pub > ~/.ssh/authorized_keys2 |
176 | 177 | chmod 600 $PWD/qiita_ware/test/test_data/test_key* |
177 | 178 | chmod 600 ~/.ssh/* |
178 | 179 | chmod 700 ~/.ssh/ |
179 | 180 | echo "Connecting as $USER@localhost" |
180 | 181 | # this line (and the -o StrictHostKeyChecking=no) is so the server |
181 | 182 | # is added to the list of known servers |
182 | | - scp -O -o StrictHostKeyChecking=no -i $PWD/qiita_ware/test/test_data/test_key $USER@localhost:/home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key /home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key_copy_1 |
| 183 | +
|
| 184 | + # 05/22/25: commenting this line out as github actions is not allowing this step |
| 185 | + # scp -O -o StrictHostKeyChecking=no -i $PWD/qiita_ware/test/test_data/test_key $USER@localhost:/home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key /home/runner/work/qiita/qiita/qiita_ware/test/test_data/random_key_copy_1 |
183 | 186 |
|
184 | 187 | - name: Main tests |
185 | 188 | shell: bash -l {0} |
@@ -239,24 +242,24 @@ jobs: |
239 | 242 | needs: main |
240 | 243 | runs-on: ubuntu-latest |
241 | 244 | steps: |
242 | | - - name: Coveralls Finished |
243 | | - uses: AndreMiras/coveralls-python-action@develop |
244 | | - with: |
245 | | - github-token: ${{ secrets.github_token }} |
246 | | - parallel-finished: true |
| 245 | + - name: Coveralls Finished |
| 246 | + uses: AndreMiras/coveralls-python-action@develop |
| 247 | + with: |
| 248 | + github-token: ${{ secrets.github_token }} |
| 249 | + parallel-finished: true |
247 | 250 |
|
248 | 251 | lint: |
249 | 252 | runs-on: ubuntu-latest |
250 | 253 | steps: |
251 | | - - name: flake8 |
252 | | - uses: actions/setup-python@v2 |
253 | | - with: |
254 | | - python-version: '3.9' |
255 | | - - name: install dependencies |
256 | | - run: python -m pip install --upgrade pip |
257 | | - - name: Check out repository code |
258 | | - uses: actions/checkout@v2 |
259 | | - - name: lint |
260 | | - run: | |
261 | | - pip install -q flake8 |
262 | | - flake8 qiita_* setup.py scripts/qiita* notebooks/*/*.py |
| 254 | + - name: flake8 |
| 255 | + uses: actions/setup-python@v2 |
| 256 | + with: |
| 257 | + python-version: "3.9" |
| 258 | + - name: install dependencies |
| 259 | + run: python -m pip install --upgrade pip |
| 260 | + - name: Check out repository code |
| 261 | + uses: actions/checkout@v2 |
| 262 | + - name: lint |
| 263 | + run: | |
| 264 | + pip install -q flake8 |
| 265 | + flake8 qiita_* setup.py scripts/qiita* notebooks/*/*.py |
0 commit comments