[#330] Support data files not found #770
Workflow file for this run
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: Commit Checks | |
| on: [pull_request] | |
| jobs: | |
| formatting: | |
| name: Linting and Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: chartboost/ruff-action@v1 | |
| - uses: isort/isort-action@v1 | |
| check-commit-message: | |
| name: Check Commit Message | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check Commit Format | |
| uses: gsactions/commit-message-checker@v2 | |
| with: | |
| pattern: '((Issue \#[0-9]+:)|(\[((\#[0-9]+)|(MINOR)|(AUTO)|(RELEASE))\])) .+' | |
| checkAllCommitMessages: "true" | |
| error: 'Your first line has to have the format "Issue #XXX: Commit message" or "[#XXX] Commit Message".' | |
| excludeDescription: "true" | |
| excludeTitle: "true" | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check Line Length | |
| uses: gsactions/commit-message-checker@v2 | |
| with: | |
| pattern: ".{1,72}" | |
| error: "The maximum line length of 72 characters is exceeded." | |
| excludeDescription: "true" | |
| excludeTitle: "true" | |
| checkAllCommitMessages: "true" | |
| accessToken: ${{ secrets.GITHUB_TOKEN }} | |
| run-pytest: | |
| name: Run Tests | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/build | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run pytest | |
| run: pytest -v -s -ra --tb=long -o log_cli=true -o log_level=DEBUG | |
| check-doc-build: | |
| name: Test Documentation Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: pandoc/actions/setup@main | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/build | |
| with: | |
| python-version: 3.11 | |
| pip-options: all,rllib,docs | |
| - name: Sphinx build | |
| run: | | |
| cd docs | |
| make html |