WIP: Try python base image again #64
Workflow file for this run
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
# This workflow will install the Python dependencies and run the tests. | |
name: python-ci | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
check-semantic-version: | |
if: "!contains(github.event.head_commit.message, 'skipci')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Set fetch-depth to 0 to fetch all tags (necessary for git-mkver to determine the correct semantic version). | |
fetch-depth: 0 | |
- uses: octue/check-semantic-version@revert-poetry-lock-file | |
with: | |
path: pyproject.toml | |
breaking_change_indicated_by: major | |
tests: | |
if: "!contains(github.event.head_commit.message, 'skipci')" | |
runs-on: ubuntu-latest | |
env: | |
USING_COVERAGE: '3.10' | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.3.1 | |
- name: Install tox | |
run: pip install tox | |
- name: Run tests | |
run: tox |