Skip to content

Create GithubActions.yml #1

Create GithubActions.yml

Create GithubActions.yml #1

Workflow file for this run

name: Tests
jobs:
test1:
runs-on: ubuntu-latest
container: ubuntu: 22.04

Check failure on line 5 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
strategy:
matrix:
python: [3.12.6]
steps:
- uses: actions/checkout@v4
- name: Install Docker
run: |
apt-get update
apt-get install -y docker.io
- name: Install lsb-release
run: |
apt-get update
apt-get install -y lsb-release
- name: fix pip issue
run: mkdir -p /github/home/.cache/pip
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
cache-dependency-path: 'requirements.txt'
test2:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.12.6]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: 'pip'
cache-dependency-path: 'requirements.txt