Merge remote-tracking branch 'origin/bug-cbf-script' into develop #40
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
name: CI_develop | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Clone repo | |
uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- 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 | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
steps: | |
- name: Clone repo | |
uses: actions/[email protected] | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- 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 | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10"] | |
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 |