Skip to content

Commit

Permalink
remove py3 docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Jul 10, 2024
1 parent 6dbba1e commit 50e5547
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 279 deletions.
44 changes: 3 additions & 41 deletions .github/workflows/build-and-test-py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
suite:
[
unit,
functional_wsp,
functional_arxiv,
functional_desy,
functional_cds,
functional_pos,
functional_elsevier,
functional_aps
]
python-version: ["3.9", "3.11", "3.12"]

steps:
Expand All @@ -34,40 +23,13 @@ jobs:
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel coveralls check-manifest
pip install -e .[tests]
pip install setuptools wheel check-manifest
pip install -e .[all]
- name: Show python dependencies
run: |
pip freeze
- name: Install dependencies
run: |
docker-compose -f docker-compose.deps.py3.yml build
docker-compose -f docker-compose.test.py3.yml run --rm scrapyd-deploy
- name: Print logs if failure
if: ${{ failure() }}
run: |
docker-compose -f docker-compose.test.py3.yml logs --tail=200
- name: Run tests
run: |
docker-compose -f docker-compose.test.py3.yml run --rm ${{ matrix.suite }}
- name: Coveralls
uses: AndreMiras/coveralls-python-action@v20201129
with:
parallel: true
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}

Coveralls:
needs: Test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@v20201129
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
py.test -vv tests/unit
20 changes: 0 additions & 20 deletions docker-compose.deps.py3.yml

This file was deleted.

204 changes: 0 additions & 204 deletions docker-compose.test.py3.yml

This file was deleted.

14 changes: 0 additions & 14 deletions tests/Dockerfile.hepcrawl_py3

This file was deleted.

0 comments on commit 50e5547

Please sign in to comment.