Merge pull request #48 from OceanNetworksCanada/fix-release-action-deps #81
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
# Workflow template from https://github.com/tox-dev/tox-gh | |
name: Formatting, Linting and Testing | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
workflow_dispatch: | |
concurrency: | |
group: check-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: test with ${{ matrix.py }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
py: | |
- "3.12" | |
- "3.11" | |
- "3.10" | |
- "3.9" | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup python for test ${{ matrix.py }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.py }} | |
- name: Install tox | |
run: python -m pip install tox-gh>=1.2 | |
- name: Setup test suite | |
run: tox --notest | |
- name: Run test suite | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
run: tox --skip-pkg-install |