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 69e27ca commit 77c5ed2
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 @@ -67,7 +67,7 @@ jobs:
files: results.xml

Lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -94,7 +94,7 @@ jobs:
exit $ec
Doc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -116,7 +116,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 @@ -148,7 +148,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 @@ -188,7 +188,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 77c5ed2

Please sign in to comment.