testtest/.github/workflows/main.yml
AlexVeeBee b2b5ff59a5
Some checks failed
Python application / Test (3.11) (push) Failing after 1m42s
apt update
2024-02-27 00:09:09 +00:00

39 lines
783 B
YAML

name: Python application
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: write
jobs:
build:
name: Test
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [ '3.11' ]
steps:
- uses: actions/checkout@v4
- name: apt update
run: |
apt update
apt full-upgrade -y
- uses: actions/setup-python@v4
with:
path: ~/.cache
python-version: ${{ matrix.python-version }}
cache: 'pip'
env:
CI: true
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool