Skip to content

Commit

Permalink
Fix ubuntu to 22.04 in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Jan 22, 2025
1 parent d1412b7 commit 0c36589
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
Test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
Expand All @@ -28,7 +28,7 @@ jobs:
run: pytest -v --cov=adi

Test-Emulated-HW:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
Lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -99,7 +99,7 @@ jobs:
exit $ec
Doc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -121,7 +121,7 @@ jobs:
cd ..
DeployMainDoc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [Test,Lint,Doc]
if: github.ref == 'refs/heads/main'

Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
destination_dir: main

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

Expand Down

0 comments on commit 0c36589

Please sign in to comment.