-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Python tests and coverage | ||
|
||
on: | ||
push: { branches: [master] } | ||
pull_request: { branches: [master] } | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- name: Use Node.js 18.x | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
node-version: 18.x | ||
- name: Setup Deno stable | ||
uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
- name: Install git-annex | ||
run: curl -L http://archive.org/download/git-annex-builds/SHA256E-s53868494--3400215acc1f7f052351d60d17603b36c1338d743b9d8a700eead3dfcd52ad92.tar.gz | tar -C /usr/local/bin --strip-components 1 -xvz | ||
- name: Install pipenv | ||
run: pip install 'pipenv==2023.7.23' | ||
- name: Install dependencies | ||
run: pipenv install --keep-outdated --dev | ||
- name: Run tests and collect coverage | ||
run: pipenv run pytest -n 4 --cov=./datalad_service --cov-report=xml:coverage.xml ./tests | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: TypeScript build CI | ||
name: TypeScript tests and coverage | ||
|
||
on: | ||
push: { branches: [master] } | ||
|