Skip to content

Commit

Permalink
CI/CD: Cleanup redundant lines/options/steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Nov 6, 2021
1 parent b0b4307 commit 929da09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,14 @@ jobs:
'musllinux_1_1_i686', 'musllinux_1_1_ppc64le']
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow

- name: Install Docker Buildx
if: ${{ !startsWith(matrix.base-image, 'manylinux1_') }}
id: buildx
uses: crazy-max/[email protected]
with:
buildx-version: latest
qemu-version: latest

- name: Build Docker image
run: |
docker build \
-t sluggy-image \
-f Dockerfile_manylinux \
docker build -t sluggy-image -f Dockerfile_manylinux \
--build-arg BASE=${{ matrix.base-image }} .
- run: docker run -v "$PWD:/io" sluggy-image pytest
- run: ls packaging/contains-slugs/dist
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
steps:

- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down

0 comments on commit 929da09

Please sign in to comment.