testtest/.github/workflows/main.yml

32 lines
645 B
YAML
Raw Normal View History

2024-02-26 23:51:21 +00:00
name: Python application
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
permissions:
contents: write
jobs:
2024-02-27 00:07:37 +00:00
build:
name: Test
2024-02-27 00:13:37 +00:00
runs-on: ubuntu-20.04
2024-02-26 23:51:21 +00:00
strategy:
matrix:
2024-02-27 00:13:37 +00:00
python-version: [ '3.10' ]
2024-02-26 23:51:21 +00:00
steps:
2024-02-27 00:09:09 +00:00
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
env:
CI: true
AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool
2024-02-27 00:07:37 +00:00