Skip to content

Merge pull request #13 from SciCatProject/dependabot/github_actions/p… #35

Merge pull request #13 from SciCatProject/dependabot/github_actions/p…

Merge pull request #13 from SciCatProject/dependabot/github_actions/p… #35

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release
pull_request:
jobs:
formatting:
name: Formatting and static analysis
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v3
with:
python-version: 3.11
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- run: tox -e static
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply automatic formatting
tests:
name: Tests
needs: formatting
runs-on: ubuntu-22.04
steps:
- run: sudo apt install --yes docker-compose
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v3
with:
python-version: 3.11
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- run: tox