Skip to content

Commit

Permalink
remove test data submodule for latest / stable install branches
Browse files Browse the repository at this point in the history
  • Loading branch information
smacke committed Oct 16, 2024
1 parent bafd232 commit 1beccf1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion test-data
Submodule test-data deleted from 602bd0

0 comments on commit 1beccf1

Please sign in to comment.