chore(deps): update actions/checkout action to v6 #145
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: Test Library | |
| on: pull_request | |
| jobs: | |
| rftest: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Build Jenkins image | |
| run: | | |
| docker ps | |
| docker build --pull -t jenkins-test atest/docker | |
| docker run -p 127.0.0.1:8080:8080 -e JAVA_OPTS=-Djenkins.install.runSetupWizard=false -d jenkins-test | |
| - name: Install library | |
| run: pip install . | |
| - name: Run robot framework tests | |
| run: robot --loglevel DEBUG atest/ | |
| - name: Upload robot framework test results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: robotframework-results-${{ matrix.python-version }} | |
| path: | | |
| output.xml | |
| log.html | |
| report.html | |
| if: ${{ always() }} |