Skip to content

Commit

Permalink
Fix CI (#267)
Browse files Browse the repository at this point in the history
* Fix CI

Two other workflows also needed updating so that the git checkout is now shallow.

* Add git to docker image, remove .git from .dockerignore
  • Loading branch information
gmloose authored Apr 26, 2024
1 parent 0d4380c commit e6e7060
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.git
.venv*/
venv/
.virtualenv*/
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: Build container
run: docker build . -t ${{ matrix.dist }} -f .github/workflows/${{ matrix.dist }}.docker

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
with:
# Needed for `setuptools-scm`
fetch-depth: 0

- name: install homebrew packages
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/py3_casacore_master.docker
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
casacore-dev \
git \
libboost-python-dev \
libcfitsio-dev \
liblapack-dev \
Expand Down

0 comments on commit e6e7060

Please sign in to comment.