Files
test/.github/workflows/main.yml
Max Mehl be683fc055
All checks were successful
Test CI / test (push) Successful in 2m23s
cache
2025-04-02 22:01:32 +02:00

29 lines
580 B
YAML

name: Test CI
on:
push:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-22.04
container:
image: ghcr.io/mxmehl/python-tests-image:3.12
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Hash poetry.lock
id: hash
run: |
echo "poetry_hash=$(md5sum poetry.lock | cut -c -32)" >> $GITHUB_OUTPUT
- run: echo "${{ steps.hash.outputs.poetry_hash }}"
- run: poetry install --verbose
# test2:
# runs-on: ubuntu-24.04
# steps:
# - run: pwd
# - run: whoami