From 6a5baf045ff40c4a7f7d68667c8e041be3ea049f Mon Sep 17 00:00:00 2001 From: Stephen Macke Date: Sun, 15 Mar 2020 11:29:52 -0700 Subject: [PATCH] remove test data submodule for latest / stable install branches --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- .gitmodules | 3 --- test-data | 1 - 3 files changed, 22 insertions(+), 26 deletions(-) delete mode 100644 .gitmodules delete mode 160000 test-data diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9698630..8e82703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 1 - - uses: smacke/submodule-checkout@v3 - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} - with: - ssh-key: '${{ secrets.TEST_DATA_SECRET }}' +# - uses: smacke/submodule-checkout@v3 +# if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} +# with: +# ssh-key: '${{ secrets.TEST_DATA_SECRET }}' - name: Set up Python uses: actions/setup-python@v5 with: @@ -54,21 +54,21 @@ jobs: if: matrix.os != 'ubuntu-latest' run: | pytest --cov-config=.coveragerc --cov-report= --cov=ffsubsync -v -m 'not integration' tests/ - - name: Run unit tests with pytest (with coverage) - if: matrix.os == 'ubuntu-latest' - run: | - pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'not integration' tests/ - - name: Run integration tests with pytest - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} - run: | - INTEGRATION=1 pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'integration' tests/ - - name: Upload coverage report - if: matrix.os == 'ubuntu-latest' - uses: codecov/codecov-action@v1 - with: - token: '${{ secrets.CODECOV_TOKEN }}' - files: ./cov.xml - env_vars: PYTHON - name: codecov-umbrella - fail_ci_if_error: true - verbose: true +# - name: Run unit tests with pytest (with coverage) +# if: matrix.os == 'ubuntu-latest' +# run: | +# pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'not integration' tests/ +# - name: Run integration tests with pytest +# if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '3.10'}} +# run: | +# INTEGRATION=1 pytest --cov-config=.coveragerc --cov-report=xml:cov.xml --cov=ffsubsync -v -m 'integration' tests/ +# - name: Upload coverage report +# if: matrix.os == 'ubuntu-latest' +# uses: codecov/codecov-action@v1 +# with: +# token: '${{ secrets.CODECOV_TOKEN }}' +# files: ./cov.xml +# env_vars: PYTHON +# name: codecov-umbrella +# fail_ci_if_error: true +# verbose: true diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 5807b21..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "test-data"] - path = test-data - url = git@github.com:smacke/subsync-data diff --git a/test-data b/test-data deleted file mode 160000 index 602bd06..0000000 --- a/test-data +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 602bd06c426abaa97eff916cbab34364d81d1fd2