Merge pull request #261 from iolanta-tech/dependabot/pip/ipython-8.32.0 #173
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: Baseline Tests | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Install dependencies | |
run: poetry install | |
- name: Test | |
shell: bash | |
run: poetry run j test-with-artifacts | |
- name: Upload pytest.xml | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pytest-xml | |
path: tests/artifacts/pytest.xml | |
- name: Post Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
name: pytest | |
path: tests/artifacts/pytest.xml | |
reporter: java-junit | |
fail-on-error: false |