Skip to content

Commit

Permalink
gh-342: install libbz2-dev and use setup-python (#343)
Browse files Browse the repository at this point in the history
All of a sudden `libbz2-dev` is not present by default in GH Actions now
+ we were using system Python for a couple of jobs.

Closes: #342
  • Loading branch information
Saransh-cpp authored Oct 9, 2024
1 parent 27e21f0 commit 1631757
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install nox and coverage.py
run: pip install coverage[toml] nox
- name: Install ubuntu dependencies for fitsio
run: |
sudo apt-get update
sudo apt-get install libbz2-dev
- name: Run doctests
run: nox -s doctests-${{ matrix.python-version }} --verbose
- name: Run tests and generate coverage report
Expand Down Expand Up @@ -76,6 +80,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install nox
run: pip install nox
- name: Build SDist and wheel
Expand All @@ -89,6 +96,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
sudo apt-get update
Expand Down

0 comments on commit 1631757

Please sign in to comment.