added version check #63
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: Run unittests | |
on: | |
push: | |
pull_request: | |
jobs: | |
python34: | |
runs-on: ubuntu-latest # Replace with desired runner | |
container: | |
image: python:3.4-alpine # Use a compatible Node.js image (consider using python:3.4-slim) | |
ports: | |
- "80" # Enclose port in quotes for consistency | |
volumes: | |
- ./:/app # Mount local project directory (adjust path if needed) | |
steps: | |
- uses: actions/checkout@v3 # Download code from GitHub (recommended) | |
- name: List mounted volume content | |
run: ls /app # List files in the mounted volume directory | |
- name: Python version | |
run: echo $(python3 -V) | |
- name: Current directory (container) | |
run: echo $(pwd) # This will print the container directory (e.g., /app) | |