-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from LOAMRI/main
Passing CI to develop branch
- Loading branch information
Showing
5 changed files
with
370 additions
and
143 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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
name: CI_develop | ||
on: | ||
push: | ||
branches: [ develop ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
||
windows: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
||
mac: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true |
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,91 @@ | ||
name: CI_main | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
||
windows: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true | ||
|
||
mac: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/[email protected] | ||
|
||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install Poetry | ||
run: pip install poetry | ||
|
||
- name: Install asltk project dependecies | ||
run: poetry install | ||
|
||
- name: Run project tests | ||
run: poetry run task test --cov-report=xml --ignore-glob='./asltk/scripts/*.py' | ||
|
||
- name: Show-up test coverage (codecov) | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
verbose: true |
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,16 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-lts-latest | ||
tools: | ||
python: "3.10" | ||
|
||
jobs: | ||
post_create_environment: | ||
- pip install poetry | ||
- poetry config virtualenvs.create false | ||
post_install: | ||
- poetry install | ||
|
||
mkdocs: | ||
configuration: mkdocs.yml |
Oops, something went wrong.