Skip to content

Test against cpython tests #29

Test against cpython tests

Test against cpython tests #29

Workflow file for this run

name: zipfile2
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install zipfile2
run: python -m pip install .
- name: Install test dependencies
run: python -m pip install -r "dev_requirements.txt"
- name: Test with haas
run: python -m haas zipfile2
- name: Integration tests
run: python -m haas .
working_directory: cpython-tests/${{ matrix.python-version }}

Check failure on line 30 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / zipfile2

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 30, Col: 7): Unexpected value 'working_directory'
code-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install flake8
run: python -m pip install flake8
- name: Lint codebase
run: python -m flake8 zipfile2/