Skip to content

Gh actions

Gh actions #26

Workflow file for this run

name: check
on:
workflow_dispatch:
push:
branches: ["main"]
tags-ignore: ["**"]
pull_request:
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test with ${{ matrix.py }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py:
# - "3.8"
- "3.11"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: test shell
run: echo $UID
- name: test shell 1
run: alias
- name: test shell 2
run: ls -latr test/files/path1/templates/dockerfiles/backend/
- name: test shell 3
run: cp test/files/path1/templates/dockerfiles/backend/start.sh /tmp
- name: test shell 4
run: ls -latr /tmp
- name: Install self
run: python -m pip install tox tox-gh
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install