Skip to content

Update GitHub Artifact Actions to v4 (major) #307

Update GitHub Artifact Actions to v4 (major)

Update GitHub Artifact Actions to v4 (major) #307

Workflow file for this run

on: [push, pull_request]
name: Continuous Integration (x86)
jobs:
Tests:
name: base
runs-on: ubuntu-latest
strategy:
matrix:
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
container:
image: i386/python:${{ matrix.python }}-buster
steps:
- name: info
run: |
linux32 sh -ec '
cat /etc/*release || true
uname -a
git version
python --version
'
- name: checkout
run: |
linux32 sh -ec '
git config --global --add safe.directory '*'
git init .
git remote add origin https://github.com/$GITHUB_REPOSITORY
git config --local gc.auto 0
git fetch --no-tags --prune --progress --no-recurse-submodules \
--depth=1 origin +$GITHUB_SHA:refs/remotes/origin/${GITHUB_REF##*/}
git checkout --progress --force -B ${GITHUB_REF##*/} \
refs/remotes/origin/${GITHUB_REF##*/}
git log -1 --format=%H
'
- name: setup java
run: |
linux32 sh -ec '
apt update
apt install -y openjdk-11-jdk-headless ant
java -version
'
env:
DEBIAN_FRONTEND: noninteractive
- name: install
run: |
linux32 sh -ec '
pip install --timeout=120 .[dev,ci]
'
- name: test
run: |
linux32 sh -ec '
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes pytest -v
'