setup better python package builds for iriscasttools #7
This file contains hidden or 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: IRISCAST Unittest | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "iriscasttools/**" | |
| - ".github/workflows/iriscast_unittest.yaml" | |
| pull_request: | |
| paths: | |
| - "iriscasttools/**" | |
| - ".github/workflows/iriscast_unittest.yaml" | |
| jobs: | |
| test_and_lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.x", "3.10"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Navigate to Folder | |
| run: cd ./iriscasttools | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} |