Skip to content

Commit 77c5ed2

Browse files
committed
Fix ubuntu to 22.04 in CI
Signed-off-by: Travis F. Collins <[email protected]>
1 parent 69e27ca commit 77c5ed2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
Test:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88
strategy:
99
matrix:
1010
python-version: [3.8, 3.9, "3.10", "3.11"]
@@ -28,7 +28,7 @@ jobs:
2828
run: pytest -v --cov=adi
2929

3030
Test-Emulated-HW:
31-
runs-on: ubuntu-latest
31+
runs-on: ubuntu-22.04
3232
strategy:
3333
fail-fast: false
3434
matrix:
@@ -67,7 +67,7 @@ jobs:
6767
files: results.xml
6868

6969
Lint:
70-
runs-on: ubuntu-latest
70+
runs-on: ubuntu-22.04
7171
strategy:
7272
fail-fast: false
7373
matrix:
@@ -94,7 +94,7 @@ jobs:
9494
exit $ec
9595
9696
Doc:
97-
runs-on: ubuntu-latest
97+
runs-on: ubuntu-22.04
9898

9999
steps:
100100
- uses: actions/checkout@v2
@@ -116,7 +116,7 @@ jobs:
116116
cd ..
117117
118118
DeployMainDoc:
119-
runs-on: ubuntu-latest
119+
runs-on: ubuntu-22.04
120120
needs: [Test,Lint,Doc]
121121
if: github.ref == 'refs/heads/main'
122122

@@ -148,7 +148,7 @@ jobs:
148148
destination_dir: main
149149

150150
DeployDevelopmentDoc:
151-
runs-on: ubuntu-latest
151+
runs-on: ubuntu-22.04
152152
needs: [Test,Lint,Doc]
153153
# Only run on pull requests to main and non-forks
154154
if: github.event_name == 'pull_request' && github.base_ref == 'main' && ! github.event.pull_request.head.repo.fork
@@ -188,7 +188,7 @@ jobs:
188188
Generated documentation for this PR is available at [Link](https://analogdevicesinc.github.io/pyadi-iio/prs/${{ github.head_ref }}/index.html)
189189
190190
Deploy:
191-
runs-on: ubuntu-latest
191+
runs-on: ubuntu-22.04
192192
needs: [Test,Lint,Doc]
193193
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
194194

0 commit comments

Comments
 (0)