-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Remove unused steps, install package
- Loading branch information
Showing
1 changed file
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,8 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip wheel | ||
pip install -r requirements.txt -r requirements-test.txt | ||
- name: Install package | ||
run: pip install -e . | ||
- name: Test | ||
run: | | ||
py.test --cov=locale_lint locale_lint | ||
|
@@ -53,14 +55,5 @@ jobs: | |
coverage xml | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
flags: unittests | ||
name: Python ${{ matrix.python-version }}, ${{ matrix.os }} | ||
- name: DeepSource | ||
if: ${{ matrix.os == 'ubuntu-20.04' }} | ||
continue-on-error: true | ||
env: | ||
DEEPSOURCE_DSN: https://[email protected] | ||
run: | | ||
curl https://deepsource.io/cli | sh | ||
./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml |